summaryrefslogtreecommitdiff
path: root/examples/mountlist.c
diff options
context:
space:
mode:
authorDrazen Kacar <dave@src.gnome.org>1999-05-08 04:40:44 +0000
committerDrazen Kacar <dave@src.gnome.org>1999-05-08 04:40:44 +0000
commit27dbd28c5ca966d92572311ec145c7d0149a61f2 (patch)
tree58c12e1e6a19b624eb42ff2f6dfe94daa48a4e22 /examples/mountlist.c
parent4d559851519fe105fb9920c4b14e8dc80ef9d5b9 (diff)
downloadlibgtop-27dbd28c5ca966d92572311ec145c7d0149a61f2.tar.gz
Changed pfintf formats to "%lld" when printing u_int64_t. This is still
* mountlist.c: Changed pfintf formats to "%lld" when printing u_int64_t. This is still utterly unportable, but will hopefully work on all supported architectures. For now.
Diffstat (limited to 'examples/mountlist.c')
-rw-r--r--examples/mountlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/mountlist.c b/examples/mountlist.c
index 486dd5e8..c0ac1aff 100644
--- a/examples/mountlist.c
+++ b/examples/mountlist.c
@@ -96,7 +96,7 @@ main (int argc, char *argv [])
glibtop_get_fsusage (&fsusage,
mount_entries [index].mountdir);
- printf ("Usage: %-16s %9Lu %9Lu %9Lu %9Lu %9Lu\n",
+ printf ("Usage: %-16s %9llu %9llu %9llu %9llu %9llu\n",
mount_entries [index].mountdir,
fsusage.blocks, fsusage.bfree,
fsusage.bavail, fsusage.files,