projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This is vodz' latest patch. Sorry it took so long...
[oweals/busybox.git]
/
renice.c
diff --git
a/renice.c
b/renice.c
index 9d85ba0d0180d9455d520ac9e532acc37f08483a..ec35bdcdeb1f7acd6483ea116825ef7508aab86b 100644
(file)
--- a/
renice.c
+++ b/
renice.c
@@
-20,19
+20,19
@@
*
*/
*
*/
-#include "busybox.h"
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <sys/time.h>
#include <sys/resource.h>
+#include "busybox.h"
extern int renice_main(int argc, char **argv)
{
int prio, status = EXIT_SUCCESS;
extern int renice_main(int argc, char **argv)
{
int prio, status = EXIT_SUCCESS;
- if (argc < 3)
usage(renice_usage
);
+ if (argc < 3)
show_usage(
);
prio = atoi(*++argv);
if (prio > 20) prio = 20;
prio = atoi(*++argv);
if (prio > 20) prio = 20;