diff options
author | Leandro Pereira <leandro@daileon.acd.puc-campinas.edu.br> | 2008-10-30 08:28:05 -0200 |
---|---|---|
committer | Leandro Pereira <leandro@daileon.acd.puc-campinas.edu.br> | 2008-10-30 08:28:05 -0200 |
commit | f42545bb0b1e7faf33e4bababff28ddd54017181 (patch) | |
tree | 687d16320ca15a6eedf33e86dfb9dfaf6bab28d3 /hardinfo2 | |
parent | 3175045a216cd69ee32e3aae465e360c3c290833 (diff) |
More minor cleanups
Diffstat (limited to 'hardinfo2')
-rw-r--r-- | hardinfo2/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/devices.c b/hardinfo2/devices.c index 4150d6fb..0e76a50a 100644 --- a/hardinfo2/devices.c +++ b/hardinfo2/devices.c @@ -182,7 +182,7 @@ gchar *get_processor_frequency(void) if (p->cpu_mhz == 0.0f) { return g_strdup("Unknown"); } else { - return g_strdup_printf("%d", p->cpu_mhz); + return g_strdup_printf("%.0f", p->cpu_mhz); } } |