diff options
Diffstat (limited to 'src/uname.c')
-rw-r--r-- | src/uname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uname.c b/src/uname.c index 7ed1bc85b..dd5de54e5 100644 --- a/src/uname.c +++ b/src/uname.c @@ -333,7 +333,7 @@ main (int argc, char **argv) /* Hack "safely" around the ppc vs. powerpc return value. */ if (cputype == CPU_TYPE_POWERPC - && strncmp (element, "ppc", 3) == 0) + && STRNCMP_LIT (element, "ppc") == 0) element = "powerpc"; } # endif |