basename: fix error code. again. deja vu feeling...

diff --git a/coreutils/basename.c b/coreutils/basename.c
index a3085ed..8a5597e 100644
--- a/coreutils/basename.c
+++ b/coreutils/basename.c
@@ -48,5 +48,6 @@
 
 	/* 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;
+	/* NB: != is correct here: */
+	return full_write(STDOUT_FILENO, s, m) != (ssize_t)m;
 }