diff options
author | Denys Vlasenko | 2009-11-26 15:26:14 +0100 |
---|---|---|
committer | Denys Vlasenko | 2009-11-26 15:26:14 +0100 |
commit | 1e1136025b2e6316f2cfaca76699a2d9de900aef (patch) | |
tree | 922a4ac451222a23c37616be38fbfbda9831cb0e /miscutils | |
parent | 650a7011a8274dc5334ee8415bcaf77405c41200 (diff) | |
download | busybox-1e1136025b2e6316f2cfaca76699a2d9de900aef.zip busybox-1e1136025b2e6316f2cfaca76699a2d9de900aef.tar.gz |
runlevel: -2 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/runlevel.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/miscutils/runlevel.c b/miscutils/runlevel.c index 6e10d9c..83b5a77 100644 --- a/miscutils/runlevel.c +++ b/miscutils/runlevel.c @@ -11,17 +11,16 @@ * * initially busyboxified by Bernhard Reutner-Fischer */ - -#include <utmp.h> #include "libbb.h" +#include <utmp.h> int runlevel_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; -int runlevel_main(int argc, char **argv) +int runlevel_main(int argc UNUSED_PARAM, char **argv) { struct utmp *ut; char prev; - if (argc > 1) utmpname(argv[1]); + if (argv[1]) utmpname(argv[1]); setutent(); while ((ut = getutent()) != NULL) { |