diff options
Diffstat (limited to 'coreutils/uname.c')
-rw-r--r-- | coreutils/uname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/uname.c b/coreutils/uname.c index a3e52e3..f6dc017 100644 --- a/coreutils/uname.c +++ b/coreutils/uname.c @@ -93,7 +93,7 @@ int uname_main(int argc, char **argv) } #if defined(__sparc__) && defined(__linux__) - if ((fake_sparc != NULL) + if ((fake_sparc != NULL) && ((fake_sparc[0] == 'y') || (fake_sparc[0] == 'Y'))) { strcpy(uname_info.name.machine, "sparc"); |