From 57851a9cef76b40ddbdf387419ea670324e0295e Mon Sep 17 00:00:00 2001 From: David Reid Date: Fri, 19 Sep 2025 12:42:06 +1000 Subject: [PATCH] Update documentation generator. --- tools/madoc/madoc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/madoc/madoc.c b/tools/madoc/madoc.c index bc95db8b..bfc32bf3 100644 --- a/tools/madoc/madoc.c +++ b/tools/madoc/madoc.c @@ -33,7 +33,7 @@ c89str load_file(const char* pFilePath) resultFS = fs_file_open_and_read(NULL, pFilePath, FS_FORMAT_TEXT, (void**)&pFileData, &fileSize); if (resultFS != FS_SUCCESS) { - printf("Failed to open %s: %s.\n", pFilePath, fs_result_to_string(resultFS)); + printf("Failed to open %s: %s.\n", pFilePath, fs_result_description(resultFS)); return NULL; } @@ -50,7 +50,7 @@ int save_file(const char* pFilePath, c89str src) resultFS = fs_file_open_and_write(NULL, pFilePath, src, c89str_len(src)); if (resultFS != FS_SUCCESS) { - printf("Failed to save %s: %s.\n", pFilePath, fs_result_to_string(resultFS)); + printf("Failed to save %s: %s.\n", pFilePath, fs_result_description(resultFS)); return (int)resultFS; }