diff options
author | Rob Landley <rob@landley.net> | 2017-05-21 13:23:34 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2017-05-21 13:23:34 -0500 |
commit | 00e6da98f31cce57fbbd768fc78649442d7ba494 (patch) | |
tree | 98c7705ac503bf3e1ac5977649f11f0a66b008fd | |
parent | f86f2f4e9a20d235b24ea86e4dddd0485165306f (diff) | |
download | toybox-00e6da98f31cce57fbbd768fc78649442d7ba494.tar.gz |
Promote chrt
-rw-r--r-- | toys/other/chrt.c (renamed from toys/pending/chrt.c) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/pending/chrt.c b/toys/other/chrt.c index 01076b93..aa0a140d 100644 --- a/toys/pending/chrt.c +++ b/toys/other/chrt.c @@ -8,7 +8,7 @@ USE_CHRT(NEWTOY(chrt, "^mp#<0iRbrfo[!ibrfo]", TOYFLAG_USR|TOYFLAG_SBIN)) config CHRT bool "chrt" - default n + default y help usage: chrt [-Rmofrbi] {-p PID [PRIORITY] | [PRIORITY COMMAND...]} @@ -77,5 +77,5 @@ void chrt_main(void) if (sched_setscheduler(TT.pid, pol, (void *)&pri)) perror_exit("sched_setscheduler"); - if (*(toys.optargs+1)) xexec(++toys.optargs); + if (*(toys.optargs+1)) xexec(toys.optargs+1); } |