diff options
| author | christos <christos@NetBSD.org> | 2005-08-23 05:55:29 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2005-08-23 05:55:29 +0000 |
| commit | fdd5a2fbddd4c8c9ef3fc4ed776af680fa2ef0e2 (patch) | |
| tree | 48b16baa0809d4cf928a2992ae2748a7be47ca61 /libexec/lfs_cleanerd | |
| parent | 2632a233ba75958e7a3fe1750403f0aa94d34c07 (diff) | |
Change PRiu64 with a cast and %llu. I am not using PRIu32 and no cast for
now. I will do so in a separate pass that will fix all the inode printing.
Diffstat (limited to 'libexec/lfs_cleanerd')
| -rw-r--r-- | libexec/lfs_cleanerd/library.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/lfs_cleanerd/library.c b/libexec/lfs_cleanerd/library.c index 5676f1a4179..4508004f2b4 100644 --- a/libexec/lfs_cleanerd/library.c +++ b/libexec/lfs_cleanerd/library.c @@ -1,4 +1,4 @@ -/* $NetBSD: library.c,v 1.45 2005/08/20 14:58:34 kent Exp $ */ +/* $NetBSD: library.c,v 1.46 2005/08/23 05:55:29 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)library.c 8.3 (Berkeley) 5/24/95"; #else -__RCSID("$NetBSD: library.c,v 1.45 2005/08/20 14:58:34 kent Exp $"); +__RCSID("$NetBSD: library.c,v 1.46 2005/08/23 05:55:29 christos Exp $"); #endif #endif /* not lint */ @@ -798,8 +798,8 @@ bi_compare(const void *a, const void *b) if ((diff = (int)(ba->bi_daddr - bb->bi_daddr))) return (diff); if(ba->bi_inode != LFS_IFILE_INUM && debug) - syslog(LOG_DEBUG,"bi_compare: using kludge on ino %" PRIu64 "!", - ba->bi_inode); + syslog(LOG_DEBUG,"bi_compare: using kludge on ino %llu!", + (unsigned long long)ba->bi_inode); diff = ba->bi_size - bb->bi_size; return diff; } |
