ref: cd1091a5b7df0315dee83a7d64b94da22f90ca62
parent: da449742ce7f3bf50f18479202a40d9e19e52e47
author: Erik de Castro Lopo <[email protected]>
date: Tue Feb 22 16:01:47 EST 2011
tests/util.c : Fix detection of CPU name on OSX.
--- a/tests/util.c
+++ b/tests/util.c
@@ -198,7 +198,7 @@
} ;
while (fgets (buffer, sizeof (buffer), file) != NULL)
- if (strstr (buffer, search) == buffer)
+ if (strstr (buffer, search))
{ char *src, *dest ;
if ((src = strchr (buffer, ':')) != NULL)