From fbc99e54fba2350e06b3c13a4a189c465d72c41d Mon Sep 17 00:00:00 2001 From: Kamal Mostafa Date: Wed, 15 Aug 2012 12:00:17 -0700 Subject: [PATCH] simpleaudio: benchmarks cpu id --- src/minimodem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/minimodem.c b/src/minimodem.c index 6903a24..6864c37 100644 --- a/src/minimodem.c +++ b/src/minimodem.c @@ -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);