Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-10]: src/sbin/fsck_ffs Pull up following revision(s) (requested b...
details: https://anonhg.NetBSD.org/src/rev/f2626422102a
branches: netbsd-10
changeset: 374812:f2626422102a
user: martin <martin%NetBSD.org@localhost>
date: Sat May 13 12:16:06 2023 +0000
description:
Pull up following revision(s) (requested by chs in ticket #163):
sbin/fsck_ffs/inode.c: revision 1.75
Use %zu rather than %lu to print a size_t (should fix i386 build).
diffstat:
sbin/fsck_ffs/inode.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8983e1db2e3e -r f2626422102a sbin/fsck_ffs/inode.c
--- a/sbin/fsck_ffs/inode.c Sat May 13 12:13:54 2023 +0000
+++ b/sbin/fsck_ffs/inode.c Sat May 13 12:16:06 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: inode.c,v 1.73.6.1 2023/05/13 12:13:54 martin Exp $ */
+/* $NetBSD: inode.c,v 1.73.6.2 2023/05/13 12:16:06 martin Exp $ */
/*
* Copyright (c) 1980, 1986, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)inode.c 8.8 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: inode.c,v 1.73.6.1 2023/05/13 12:13:54 martin Exp $");
+__RCSID("$NetBSD: inode.c,v 1.73.6.2 2023/05/13 12:16:06 martin Exp $");
#endif
#endif /* not lint */
@@ -737,7 +737,7 @@ allocino(ino_t request, int type)
MAX(2 * inostathead[cg].il_numalloced, 10));
info = calloc(newalloced, sizeof(*info));
if (info == NULL) {
- pwarn("cannot alloc %lu bytes to extend inoinfo\n",
+ pwarn("cannot alloc %zu bytes to extend inoinfo\n",
sizeof(struct inostat) * newalloced);
return 0;
}
Home |
Main Index |
Thread Index |
Old Index