projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
init: fix logically inverted FEATURE_EXTRA_QUIET check
[oweals/busybox.git]
/
miscutils
/
runlevel.c
diff --git
a/miscutils/runlevel.c
b/miscutils/runlevel.c
index 6e10d9cbb130c2485e04843818ca7108b0a49cce..83b5a77d49599a2dac1fe3d0187703b0977022a1 100644
(file)
--- a/
miscutils/runlevel.c
+++ b/
miscutils/runlevel.c
@@
-11,17
+11,16
@@
*
* initially busyboxified by Bernhard Reutner-Fischer
*/
*
* initially busyboxified by Bernhard Reutner-Fischer
*/
-
-#include <utmp.h>
#include "libbb.h"
#include "libbb.h"
+#include <utmp.h>
int runlevel_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
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;
{
struct utmp *ut;
char prev;
- if (arg
c > 1
) utmpname(argv[1]);
+ if (arg
v[1]
) utmpname(argv[1]);
setutent();
while ((ut = getutent()) != NULL) {
setutent();
while ((ut = getutent()) != NULL) {