aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-08-03 03:46:14 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-08-03 03:46:14 +0200
commit663ae52676eae3b0fdc6bb968ff6497279a034a4 (patch)
tree49d8011eebedc3a6c47b7c8703b2b6e640f6fb0c /coreutils
parent819b47aa357c33bf84919495795b36f8c1faa3ac (diff)
downloadbusybox-663ae52676eae3b0fdc6bb968ff6497279a034a4.tar.gz
config: FEDORA_COMPAT option (so far only tweaks uname)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/uname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/uname.c b/coreutils/uname.c
index d6e447e33..be9a3f90d 100644
--- a/coreutils/uname.c
+++ b/coreutils/uname.c
@@ -183,7 +183,7 @@ int uname_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
strcpy(uname_info.processor, unknown_str);
strcpy(uname_info.platform, unknown_str);
strcpy(uname_info.os, CONFIG_UNAME_OSNAME);
-# if 0
+# if ENABLE_FEDORA_COMPAT
/* Fedora does something like this */
strcpy(uname_info.processor, uname_info.name.machine);
strcpy(uname_info.platform, uname_info.name.machine);