diff options
Diffstat (limited to 'lib/at-func.c')
-rw-r--r-- | lib/at-func.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/at-func.c b/lib/at-func.c index b6aa0fd550..cc7bfc2de1 100644 --- a/lib/at-func.c +++ b/lib/at-func.c @@ -84,7 +84,7 @@ AT_FUNC_NAME (int fd, char const *file AT_FUNC_POST_FILE_PARAM_DECLS) /* If the syscall succeeds, or if it fails with an unexpected errno value, then return right away. Otherwise, fall through and resort to using save_cwd/restore_cwd. */ - if (0 <= proc_result) + if (FUNC_FAIL != proc_result) return proc_result; if (! EXPECTED_ERRNO (proc_errno)) { |