From fdd5a2fbddd4c8c9ef3fc4ed776af680fa2ef0e2 Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 23 Aug 2005 05:55:29 +0000 Subject: 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. --- libexec/lfs_cleanerd/library.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libexec') 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; } -- cgit