From: Kevin Day Date: Wed, 4 Nov 2020 02:53:19 +0000 (-0600) Subject: Cleanup: Fake should handle file specific errors for the clean operation. X-Git-Tag: 0.5.2~91 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=bd1a3ac3880f4272cf34ac8ac75b3a6050581445;p=fll Cleanup: Fake should handle file specific errors for the clean operation. The clean operation should use fll_error_file_print() instead of fll_error_print() for better error output for file related operations. --- diff --git a/level_3/fake/c/private-clean.c b/level_3/fake/c/private-clean.c index 6b32445..8a5a3a6 100644 --- a/level_3/fake/c/private-clean.c +++ b/level_3/fake/c/private-clean.c @@ -40,7 +40,7 @@ extern "C" { } if (F_status_is_error(status)) { - fll_error_print(data.error, F_status_set_fine(status), "f_directory_remove", F_true); + fll_error_file_print(data.error, F_status_set_fine(status), "f_directory_remove", F_true, data.path_build.string, "remove", fll_error_file_type_directory); return status; }