From 503e6362290d56bce0ed71f8164f24e25108bbbc Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 17 Nov 2018 18:25:08 -0600 Subject: Convert more GLOBALS argument vars to the new single letter code style. --- toys/lsb/killall.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'toys/lsb/killall.c') 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--; } -- cgit v1.2.3