simpleaudio: benchmarks cpu id

This commit is contained in:
Kamal Mostafa 2012-08-15 12:00:17 -07:00
parent 1dff8e726f
commit fbc99e54fb
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ benchmarks()
fprintf(stdout, "minimodem %s benchmarks\n", VERSION);
int ret;
ret = system("sed -n '/^model name/{p;q}' /proc/cpuinfo");
ret = system("sed -n -e '/^model name/{p;q}' -e '/^cpu model/{p;q}' /proc/cpuinfo");
ret = ret; // don't care, hush compiler.
fflush(stdout);