Add in ifconfig and route
[oweals/busybox.git] / kill.c
diff --git a/kill.c b/kill.c
index 19ca187a758e275c1accb5dcbce695ed27dc0e0b..00a4d5c402c612b1c1cf9f555caa80b19b9433c0 100644 (file)
--- a/kill.c
+++ b/kill.c
@@ -28,6 +28,7 @@
 #include <unistd.h>
 #include <signal.h>
 #include <ctype.h>
+#include <string.h>
 #include <unistd.h>
 
 static const int KILL = 0;
@@ -222,7 +223,7 @@ extern int kill_main(int argc, char **argv)
                        pidList = find_pid_by_name( *argv);
                        if (!pidList) {
                                all_found = FALSE;
-                               error_msg( "%s: no process killed\n", *argv);
+                               error_msg( "%s: no process killed", *argv);
                        }
 
                        for(; pidList && *pidList!=0; pidList++) {
@@ -245,5 +246,5 @@ extern int kill_main(int argc, char **argv)
 
 
   end:
-       error_msg_and_die( "bad signal name: %s\n", *argv);
+       error_msg_and_die( "bad signal name: %s", *argv);
 }