summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cleopatre/busybox-1.11.1-spc300/coreutils/basename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cleopatre/busybox-1.11.1-spc300/coreutils/basename.c b/cleopatre/busybox-1.11.1-spc300/coreutils/basename.c
index a3085ede30..8a05e92e5f 100644
--- a/cleopatre/busybox-1.11.1-spc300/coreutils/basename.c
+++ b/cleopatre/busybox-1.11.1-spc300/coreutils/basename.c
@@ -48,5 +48,5 @@ int basename_main(int argc, char **argv)
/* puts(s) will do, but we can do without stdio this way: */
s[m++] = '\n';
- return full_write(STDOUT_FILENO, s, m) == (ssize_t)m;
+ return full_write(STDOUT_FILENO, s, m) != (ssize_t)m;
}