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]",
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;
}