Even moar polishing
This commit is contained in:
parent
fe1d958838
commit
79b00170ba
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue