bad syntax error should go to stderr
authorpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Wed, 14 Nov 2007 23:48:35 +0000 (23:48 +0000)
committerpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Wed, 14 Nov 2007 23:48:35 +0000 (23:48 +0000)
git-svn-id: svn://busybox.net/trunk/busybox@20423 69ca8d6d-28ef-0310-b511-8ec308f3f277

procps/kill.c

index 0c7c160..65c2837 100644 (file)
@@ -129,7 +129,7 @@ do_it_now:
 
        /* Pid or name is required for kill/killall */
        if (argc < 1) {
-               puts("You need to specify whom to kill");
+               bb_error_msg("You need to specify whom to kill");
                return EXIT_FAILURE;
        }