aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/renice.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/renice.c')
-rw-r--r--toys/posix/renice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/posix/renice.c b/toys/posix/renice.c
index 489eb138..c1167c8c 100644
--- a/toys/posix/renice.c
+++ b/toys/posix/renice.c
@@ -17,7 +17,7 @@ config RENICE
#include "toys.h"
GLOBALS(
- long nArgu;
+ long n;
)
void renice_main(void) {
@@ -42,7 +42,7 @@ void renice_main(void) {
continue;
}
- if (setpriority(which, id, getpriority(which, id)+TT.nArgu) < 0)
+ if (setpriority(which, id, getpriority(which, id)+TT.n) < 0)
perror_msg("setpriority %d", id);
}
}