From 27dbd28c5ca966d92572311ec145c7d0149a61f2 Mon Sep 17 00:00:00 2001 From: Drazen Kacar Date: Sat, 8 May 1999 04:40:44 +0000 Subject: [PATCH] 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. --- examples/ChangeLog | 6 ++++++ examples/mountlist.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/examples/ChangeLog b/examples/ChangeLog index 7a48b75a..9d4c526f 100644 --- a/examples/ChangeLog +++ b/examples/ChangeLog @@ -1,3 +1,9 @@ +1999-05-08 Drazen Kacar + + * 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. + 1999-05-07 Martin Baulig * timings.c (timersub): Renamed this to `libgtop_timersub' and define 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,