From 6fadd97ae156b636cd38fefdbb1aa00bb8857e26 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 26 Apr 2020 17:11:07 -0500 Subject: [PATCH] Bugfix: f_file_not_found should be considered an error --- level_0/f_file/c/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.3.1