diff options
author | Denys Vlasenko | 2017-12-31 17:30:02 +0100 |
---|---|---|
committer | Denys Vlasenko | 2017-12-31 17:30:02 +0100 |
commit | 82d1c1f84ae23793d81b50aa0a753ad7c4db4f51 (patch) | |
tree | e5c1dc00b04299cf627cf2ef18453aea96c5f1e5 /coreutils/uname.c | |
parent | 36acc4631c94bb0f43ecaac5d61dc773ef773e91 (diff) | |
download | busybox-82d1c1f84ae23793d81b50aa0a753ad7c4db4f51.zip busybox-82d1c1f84ae23793d81b50aa0a753ad7c4db4f51.tar.gz |
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/uname.c')
-rw-r--r-- | coreutils/uname.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/coreutils/uname.c b/coreutils/uname.c index 57039b1..7658096 100644 --- a/coreutils/uname.c +++ b/coreutils/uname.c @@ -127,11 +127,9 @@ int uname_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) { uname_info_t uname_info; IF_UNAME(const char *unknown_str = "unknown";) - unsigned toprint; - - toprint = (1 << 4); /* "arch" = "uname -m" */ - #if ENABLE_UNAME + unsigned toprint = (1 << 4); /* "arch" = "uname -m" */ + if (!ENABLE_BB_ARCH || applet_name[0] == 'u') { # if ENABLE_LONG_OPTS static const char uname_longopts[] ALIGN1 = |