Mercurial > hg > toybox
diff toys/posix/uname.c @ 675:fa858a67e231
Fix thinko for uname -m when i686 binary runs on x86_64 host.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 08 Oct 2012 21:24:19 -0500 |
parents | 7e846e281e38 |
children | 786841fdb1e0 |
line wrap: on
line diff
--- a/toys/posix/uname.c Mon Oct 08 00:02:30 2012 -0500 +++ b/toys/posix/uname.c Mon Oct 08 21:24:19 2012 -0500 @@ -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++) {