diff options
author | Benoît Dejean <bdejean@src.gnome.org> | 2004-06-09 18:52:22 +0000 |
---|---|---|
committer | Benoît Dejean <bdejean@src.gnome.org> | 2004-06-09 18:52:22 +0000 |
commit | 70b0925a826828e2fb7b683258f9c66eeb10142d (patch) | |
tree | 91865339a2378f177e2ad501a5d7e5c77a3fd19d /examples/smp.c | |
parent | b0edf88ff7f414f5ada8397eb98553a1d67d0728 (diff) | |
download | libgtop-70b0925a826828e2fb7b683258f9c66eeb10142d.tar.gz |
whitespace clean up.
* *.{c,h} : whitespace clean up.
Diffstat (limited to 'examples/smp.c')
-rw-r--r-- | examples/smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/smp.c b/examples/smp.c index fa385786..fd0c9553 100644 --- a/examples/smp.c +++ b/examples/smp.c @@ -47,7 +47,7 @@ main (int argc, char *argv []) setlocale (LC_ALL, ""); bindtextdomain (GETTEXT_PACKAGE, GTOPLOCALEDIR); textdomain (GETTEXT_PACKAGE); - + glibtop_init(); glibtop_get_cpu (&cpu); @@ -102,7 +102,7 @@ main (int argc, char *argv []) printf ("%-26s %12s %12s %12s %12s %12s\n%s\n", _("Percent:"), _("Total (%)"), _("User (%)"), _("Nice (%)"), _("Sys (%)"), _("Idle (%)"), separator); - + printf (_("CPU (0x%08lx): %12.3f %12.3f %12.3f %12.3f %12.3f\n\n"), (unsigned long) cpu.flags, (double) total * 100.0 / total, (double) user * 100.0 / total, |