From: Kevin Day Date: Sun, 26 Apr 2020 22:11:07 +0000 (-0500) Subject: Bugfix: f_file_not_found should be considered an error X-Git-Tag: 0.5.0~323 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=6fadd97ae156b636cd38fefdbb1aa00bb8857e26;p=fll Bugfix: f_file_not_found should be considered an error --- diff --git a/level_0/f_file/c/file.c b/level_0/f_file/c/file.c index 33d8259..3c55f0f 100644 --- a/level_0/f_file/c/file.c +++ b/level_0/f_file/c/file.c @@ -306,7 +306,7 @@ extern "C" { return f_status_set_error(f_invalid_directory); } else if (errno == ENOENT) { - return f_file_not_found; + return f_status_set_error(f_file_not_found); } else if (errno == EACCES) { return f_status_set_error(f_access_denied);