More stuff
[oweals/busybox.git] / kill.c
diff --git a/kill.c b/kill.c
index 58dc8a98632dd3475dfc4f4272bc3171af159b78..e89f913d09dd35433751d906990ea2c63588354e 100644 (file)
--- a/kill.c
+++ b/kill.c
@@ -21,20 +21,20 @@ const struct signal_name signames[] = {
 #ifndef __alpha__
     {"IOT", SIGIOT},
 #endif
-#if defined(sparc) || defined(__alpha__)
+#if defined(__sparc__) || defined(__alpha__)
     {"EMT", SIGEMT},
 #else
     {"BUS", SIGBUS},
 #endif
     {"FPE", SIGFPE},
     {"KILL", SIGKILL},
-#if defined(sparc) || defined(__alpha__)
+#if defined(__sparc__) || defined(__alpha__)
     {"BUS", SIGBUS},
 #else
     {"USR1", SIGUSR1},
 #endif
     {"SEGV", SIGSEGV},
-#if defined(sparc) || defined(__alpha__)
+#if defined(__sparc__) || defined(__alpha__)
     {"SYS", SIGSYS},
 #else
     {"USR2", SIGUSR2},
@@ -42,7 +42,7 @@ const struct signal_name signames[] = {
     {"PIPE", SIGPIPE},
     {"ALRM", SIGALRM},
     {"TERM", SIGTERM},
-#if defined(sparc) || defined(__alpha__)
+#if defined(__sparc__) || defined(__alpha__)
     {"URG", SIGURG},
     {"STOP", SIGSTOP},
     {"TSTP", SIGTSTP},
@@ -130,8 +130,7 @@ extern int kill_main (int argc, char **argv)
     }
     if (had_error) {
 end:
-       fprintf(stderr, "Usage: %s\n", kill_usage);
-       exit ( FALSE);
+       usage (kill_usage);
     }
     exit (TRUE);
 }