Mercurial > hg > toybox
changeset 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 | 522ec2aad996 |
files | toys/posix/uname.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
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++) {