# HG changeset patch # User Rob Landley # Date 1349749459 18000 # Node ID fa858a67e231d834d010a8ff8b71ee1f1fe778b4 # Parent 7e846e281e381eb960204805594f7bc05a33af7e Fix thinko for uname -m when i686 binary runs on x86_64 host. diff -r 7e846e281e38 -r fa858a67e231 toys/posix/uname.c --- 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++) {