diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-28 00:12:53 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-28 00:12:53 +0200 |
commit | 79b00170ba05c9a7ecd6e3d570a9aef04a3bd070 (patch) | |
tree | 40caa87c8744e2c9e9cd7d9b72959db681ae54d0 /src/common/util.c | |
parent | fe1d958838cce03179870397f372e723881f2c89 (diff) |
Even moar polishing
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 7 |
1 files 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; } |