Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/ufs/lfs Pull up revision 1.23:
details: https://anonhg.NetBSD.org/src/rev/5139daed7d3f
branches: netbsd-1-4
changeset: 469326:5139daed7d3f
user: he <he%NetBSD.org@localhost>
date: Fri Sep 03 08:57:52 1999 +0000
description:
Pull up revision 1.23:
Fix a printf format bug that gives compiler warnings/errors on
64-bit platforms, fixing PR#8241. (perseant)
diffstat:
sys/ufs/lfs/lfs_alloc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 59e7222335cd -r 5139daed7d3f sys/ufs/lfs/lfs_alloc.c
--- a/sys/ufs/lfs/lfs_alloc.c Fri Sep 03 08:50:43 1999 +0000
+++ b/sys/ufs/lfs/lfs_alloc.c Fri Sep 03 08:57:52 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_alloc.c,v 1.18.2.3 1999/06/25 20:50:09 perry Exp $ */
+/* $NetBSD: lfs_alloc.c,v 1.18.2.4 1999/09/03 08:57:52 he Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -352,7 +352,7 @@
LFS_SEGENTRY(sup, fs, datosn(fs, old_iaddr), bp);
#ifdef DIAGNOSTIC
if (sup->su_nbytes < DINODE_SIZE) {
- printf("lfs_vfree: negative byte count (segment %d short by %d)\n", datosn(fs, old_iaddr), DINODE_SIZE - sup->su_nbytes);
+ printf("lfs_vfree: negative byte count (segment %d short by %d)\n", datosn(fs, old_iaddr), (int)DINODE_SIZE - sup->su_nbytes);
panic("lfs_vfree: negative byte count");
sup->su_nbytes = DINODE_SIZE;
}
Home |
Main Index |
Thread Index |
Old Index