diff options
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/basename.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/basename.c b/coreutils/basename.c index a3085ede3..8a05e92e5 100644 --- a/coreutils/basename.c +++ b/coreutils/basename.c | |||
@@ -48,5 +48,5 @@ int basename_main(int argc, char **argv) | |||
48 | 48 | ||
49 | /* puts(s) will do, but we can do without stdio this way: */ | 49 | /* puts(s) will do, but we can do without stdio this way: */ |
50 | s[m++] = '\n'; | 50 | s[m++] = '\n'; |
51 | return full_write(STDOUT_FILENO, s, m) == (ssize_t)m; | 51 | return full_write(STDOUT_FILENO, s, m) != (ssize_t)m; |
52 | } | 52 | } |