summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/basename.c2
-rw-r--r--coreutils/env.c4
2 files changed, 3 insertions, 3 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}
diff --git a/coreutils/env.c b/coreutils/env.c
index 66199e8d6..2f8c8b71d 100644
--- a/coreutils/env.c
+++ b/coreutils/env.c
@@ -29,6 +29,8 @@
29 * - use xfunc_error_retval 29 * - use xfunc_error_retval
30 */ 30 */
31 31
32/* This is a NOEXEC applet. Be very careful! */
33
32#include "libbb.h" 34#include "libbb.h"
33 35
34#if ENABLE_FEATURE_ENV_LONG_OPTIONS 36#if ENABLE_FEATURE_ENV_LONG_OPTIONS
@@ -119,5 +121,3 @@ int env_main(int argc UNUSED_PARAM, char **argv)
119 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 121 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
120 * SUCH DAMAGE. 122 * SUCH DAMAGE.
121 */ 123 */
122
123