commit | 2d995382e24433b1c724fa3eb653479c1dc19402 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Mon Oct 08 21:24:19 2012 -0500 |
committer | Rob Landley <rob@landley.net> | Mon Oct 08 21:24:19 2012 -0500 |
tree | 2c5f258574332be0be4dbe25c826a71058560804 | |
parent | c0e56edaf256adb6c60c5a052525a1ffbb927901 [diff] |
Fix thinko for uname -m when i686 binary runs on x86_64 host.
diff --git a/toys/posix/uname.c b/toys/posix/uname.c index 3c774b3..fcc92a0 100644 --- a/toys/posix/uname.c +++ b/toys/posix/uname.c
@@ -56,8 +56,10 @@ // This problem originates in autoconf, so of course the solution // is horribly ugly. #ifdef GROSS - if (i==4 && !strcmp(c,"x86_64")) printf(GROSS); - else + if (i==4 && !strcmp(c,"x86_64")) { + printf(GROSS); + continue; + } #endif if (needspace++) {