Even moar polishing

This commit is contained in:
Berke Viktor 2012-10-28 00:12:53 +02:00
parent fe1d958838
commit 79b00170ba
1 changed files with 3 additions and 4 deletions

View File

@ -792,11 +792,10 @@ get_sys_str (int with_cpu)
(cpus == 1) ? "%s %s [%s/%.2f%s]" : "%s %s [%s/%.2f%s/SMP]", (cpus == 1) ? "%s %s [%s/%.2f%s]" : "%s %s [%s/%.2f%s/SMP]",
un.sysname, un.release, un.machine, un.sysname, un.release, un.machine,
cpuspeed, cpuspeedstr); cpuspeed, cpuspeedstr);
} else }
else
#endif #endif
snprintf (buf, 128, snprintf (buf, 128, "%s %s", un.sysname, un.release);
(cpus == 1) ? "%s %s [%s]" : "%s %s [%s/SMP]",
un.sysname, un.release, un.machine);
return buf; return buf;
} }