diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-06-03 14:24:19 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-06-03 17:27:00 -0400 |
commit | 6fcc0f217e3352e4f935f3e66a62c1cf7073dcb9 (patch) | |
tree | bc94e1c6e111bbc9037bbf855afc40e5e5e71b97 /src/eval.c | |
parent | 9200c270c5d1de546a8e0e28fcbd133967b5ae16 (diff) | |
download | bfs-6fcc0f217e3352e4f935f3e66a62c1cf7073dcb9.tar.xz |
eval: Fix -D stat printed return value
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1286,7 +1286,7 @@ static void debug_stat(const struct bfs_ctx *ctx, const struct BFTW *ftwbuf, enu DEBUG_FLAG(flags, BFS_STAT_TRYFOLLOW); DEBUG_FLAG(flags, BFS_STAT_NOSYNC); - fprintf(stderr, ") == %d", err ? 0 : -1); + fprintf(stderr, ") == %d", err == 0 ? 0 : -1); if (err) { fprintf(stderr, " [%d]", err); |