From 79b00170ba05c9a7ecd6e3d570a9aef04a3bd070 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 28 Oct 2012 00:12:53 +0200 Subject: Even moar polishing --- src/common/util.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/common/util.c b/src/common/util.c index dcd4021f..cc5169c7 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -792,11 +792,10 @@ get_sys_str (int with_cpu) (cpus == 1) ? "%s %s [%s/%.2f%s]" : "%s %s [%s/%.2f%s/SMP]", un.sysname, un.release, un.machine, cpuspeed, cpuspeedstr); - } else + } + else #endif - snprintf (buf, 128, - (cpus == 1) ? "%s %s [%s]" : "%s %s [%s/SMP]", - un.sysname, un.release, un.machine); + snprintf (buf, 128, "%s %s", un.sysname, un.release); return buf; } -- cgit 1.4.1