diff options
author | deraadt <deraadt@openbsd.org> | 2001-07-07 18:26:09 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2001-07-07 18:26:09 +0000 |
commit | a4df03212d7af700bddf7c4ab697cdac037052f3 (patch) | |
tree | 8b4bb74c95e65592b7e8ba73f0756e1698e0b558 /sbin/fsdb | |
parent | Don't try to dereference the -1th ccp algorithm array entry when we (diff) | |
download | wireguard-openbsd-a4df03212d7af700bddf7c4ab697cdac037052f3.tar.xz wireguard-openbsd-a4df03212d7af700bddf7c4ab697cdac037052f3.zip |
major -Wall cleanup, almost complete
Diffstat (limited to 'sbin/fsdb')
-rw-r--r-- | sbin/fsdb/fsdbutil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsdb/fsdbutil.c b/sbin/fsdb/fsdbutil.c index 4dd13cea046..f31b9b2695f 100644 --- a/sbin/fsdb/fsdbutil.c +++ b/sbin/fsdb/fsdbutil.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fsdbutil.c,v 1.5 1997/01/16 04:04:21 millert Exp $ */ +/* $OpenBSD: fsdbutil.c,v 1.6 2001/07/07 18:26:13 deraadt Exp $ */ /* $NetBSD: fsdbutil.c,v 1.5 1996/09/28 19:30:37 christos Exp $ */ /*- @@ -38,7 +38,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: fsdbutil.c,v 1.5 1997/01/16 04:04:21 millert Exp $"; +static char rcsid[] = "$OpenBSD: fsdbutil.c,v 1.6 2001/07/07 18:26:13 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -140,7 +140,7 @@ printstat(cp, inum, dp) puts("fifo"); break; } - printf("I=%u MODE=%o SIZE=%qu", inum, dp->di_mode, dp->di_size); + printf("I=%u MODE=%o SIZE=%llu", inum, dp->di_mode, dp->di_size); t = dp->di_mtime; p = ctime(&t); printf("\n\tMTIME=%15.15s %4.4s [%d nsec]", &p[4], &p[20], |