summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko2008-08-21 08:32:12 +0000
committerDenis Vlasenko2008-08-21 08:32:12 +0000
commit2957fc699207d8e855c7024f8f91c451cf018952 (patch)
treece3a887e3f426a23735a211a5a6aa26415fe422e /coreutils
parent6857e4e2f3ed59df9fe0d5ccbc518d126dd89dbc (diff)
downloadbusybox-2957fc699207d8e855c7024f8f91c451cf018952.zip
busybox-2957fc699207d8e855c7024f8f91c451cf018952.tar.gz
apply post-1.11.1 patches, bump version to 1.11.21_11_2
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/basename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/basename.c b/coreutils/basename.c
index a3085ed..8a05e92 100644
--- a/coreutils/basename.c
+++ b/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;
}