summaryrefslogtreecommitdiff
path: root/examples/smp.c
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1999-07-30 21:03:22 +0000
committerMartin Baulig <martin@src.gnome.org>1999-07-30 21:03:22 +0000
commit91524799817c968c54d969dfdb17f2893de0ac57 (patch)
treebff836289c058c5afab1123919a5f3224b52e751 /examples/smp.c
parent2814206ffa858ee32f37e70b94e1ddb72a2857f7 (diff)
downloadlibgtop-91524799817c968c54d969dfdb17f2893de0ac57.tar.gz
Fixed all warnings.
Diffstat (limited to 'examples/smp.c')
-rw-r--r--examples/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/smp.c b/examples/smp.c
index 78e993e9..b8f88b4e 100644
--- a/examples/smp.c
+++ b/examples/smp.c
@@ -67,7 +67,7 @@ main (int argc, char *argv [])
memset (separator, '-', 91);
separator [92] = '\0';
- sprintf (buffer, _("Ticks (%d per second):"), frequency);
+ sprintf (buffer, _("Ticks (%ld per second):"), frequency);
printf ("\n\n%-26s %12s %12s %12s %12s %12s\n%s\n", buffer,
_("Total"), _("User"), _("Nice"), _("Sys"), _("Idle"), separator);