← Commit list

1e1136025

Denys Vlasenko
Denys Vlasenko
2009-11-26
FAILED Duration: 30s

Subject

runlevel: -2 bytes

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

miscutils/runlevel.c+3 -4
@@ -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) {