bad syntax error should go to stderr
authorPaul Fox <pgf@brightstareng.com>
Wed, 14 Nov 2007 23:48:35 +0000 (23:48 -0000)
committerPaul Fox <pgf@brightstareng.com>
Wed, 14 Nov 2007 23:48:35 +0000 (23:48 -0000)
procps/kill.c

index 0c7c1608f1b9c33b6ec60079e299d3ec9892e65e..65c2837609fa721929b5b33db2158f49ac5f9ffe 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;
        }