projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make 'grep -l' work
[oweals/busybox.git]
/
uname.c
diff --git
a/uname.c
b/uname.c
index deaffd7000f5a268ea593ee04333484a0aa436e8..f7e2291a8f8cc159201568da24bc96a8895d96c2 100644
(file)
--- a/
uname.c
+++ b/
uname.c
@@
-31,15
+31,16
@@
/* Busyboxed by Erik Andersen */
/* Busyboxed by Erik Andersen */
-#include "busybox.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/utsname.h>
#if defined (HAVE_SYSINFO) && defined (HAVE_SYS_SYSTEMINFO_H)
# include <sys/systeminfo.h>
#endif
#include <sys/types.h>
#include <sys/utsname.h>
#if defined (HAVE_SYSINFO) && defined (HAVE_SYS_SYSTEMINFO_H)
# include <sys/systeminfo.h>
#endif
+#include "busybox.h"
static void print_element(unsigned int mask, char *element);
static void print_element(unsigned int mask, char *element);
@@
-106,7
+107,7
@@
int uname_main(int argc, char **argv)
PRINT_MACHINE);
break;
default:
PRINT_MACHINE);
break;
default:
-
usage(uname_usage
);
+
show_usage(
);
}
}
}
}
}
}