diff options
author | Rob Landley <rob@landley.net> | 2018-11-17 18:25:08 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-11-17 18:25:08 -0600 |
commit | 503e6362290d56bce0ed71f8164f24e25108bbbc (patch) | |
tree | 06d962fb5a547aa07f387d879cb28ff84fd23b78 /toys/lsb/killall.c | |
parent | 7d26f1071d17dc2980280008fbbcd8a6a376d387 (diff) | |
download | toybox-503e6362290d56bce0ed71f8164f24e25108bbbc.tar.gz |
Convert more GLOBALS argument vars to the new single letter code style.
Diffstat (limited to 'toys/lsb/killall.c')
-rw-r--r-- | toys/lsb/killall.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toys/lsb/killall.c b/toys/lsb/killall.c index 2772b432..d524107c 100644 --- a/toys/lsb/killall.c +++ b/toys/lsb/killall.c @@ -25,7 +25,7 @@ config KILLALL #include "toys.h" GLOBALS( - char *sig; + char *s; int signum; pid_t cur_pid; @@ -72,12 +72,12 @@ void killall_main(void) return; } - if (TT.sig || (*TT.names && **TT.names == '-')) { - if (0 > (TT.signum = sig_to_num(TT.sig ? TT.sig : (*TT.names)+1))) { + if (TT.s || (*TT.names && **TT.names == '-')) { + if (0 > (TT.signum = sig_to_num(TT.s ? TT.s : (*TT.names)+1))) { if (toys.optflags & FLAG_q) exit(1); error_exit("Invalid signal"); } - if (!TT.sig) { + if (!TT.s) { TT.names++; toys.optc--; } |