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.28:
details: https://anonhg.NetBSD.org/src/rev/bbf77a12d7e9
branches: netbsd-1-4
changeset: 469327:bbf77a12d7e9
user: he <he%NetBSD.org@localhost>
date: Fri Sep 03 09:00:13 1999 +0000
description:
Pull up revision 1.28:
Fix a printf format bug that gives compiler warnings/errors on
64-bit platforms, fixing PR#8241. (perseant)
diffstat:
sys/ufs/lfs/lfs_segment.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 5139daed7d3f -r bbf77a12d7e9 sys/ufs/lfs/lfs_segment.c
--- a/sys/ufs/lfs/lfs_segment.c Fri Sep 03 08:57:52 1999 +0000
+++ b/sys/ufs/lfs/lfs_segment.c Fri Sep 03 09:00:13 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_segment.c,v 1.23.2.2 1999/06/25 20:51:32 perry Exp $ */
+/* $NetBSD: lfs_segment.c,v 1.23.2.3 1999/09/03 09:00:13 he Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -735,7 +735,7 @@
if (sup->su_nbytes < DINODE_SIZE) {
/* XXX -- Change to a panic. */
printf("lfs_writeinode: negative bytes (segment %d short by %d)\n",
- datosn(fs, daddr), DINODE_SIZE - sup->su_nbytes);
+ datosn(fs, daddr), (int)DINODE_SIZE - sup->su_nbytes);
panic("lfs_writeinode: negative bytes");
sup->su_nbytes = DINODE_SIZE;
}
Home |
Main Index |
Thread Index |
Old Index