Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sbin/newfs_lfs Pull up revision 1.5 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/bfb896895b95
branches: netbsd-1-4
changeset: 471013:bfb896895b95
user: he <he%NetBSD.org@localhost>
date: Wed Oct 11 21:10:23 2000 +0000
description:
Pull up revision 1.5 (requested by he):
Format string cleanup.
diffstat:
sbin/newfs_lfs/newfs.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 5817d57244bd -r bfb896895b95 sbin/newfs_lfs/newfs.c
--- a/sbin/newfs_lfs/newfs.c Wed Oct 11 21:04:46 2000 +0000
+++ b/sbin/newfs_lfs/newfs.c Wed Oct 11 21:10:23 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: newfs.c,v 1.1 1999/03/18 17:18:05 perseant Exp $ */
+/* $NetBSD: newfs.c,v 1.1.2.1 2000/10/11 21:10:23 he Exp $ */
/*-
* Copyright (c) 1989, 1992, 1993
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)newfs.c 8.5 (Berkeley) 5/24/95";
#else
-__RCSID("$NetBSD: newfs.c,v 1.1 1999/03/18 17:18:05 perseant Exp $");
+__RCSID("$NetBSD: newfs.c,v 1.1.2.1 2000/10/11 21:10:23 he Exp $");
#endif
#endif /* not lint */
@@ -379,8 +379,8 @@
if ((n = read(fd, &lab, sizeof(struct disklabel))) < 0)
fatal("unable to read disk label: %s", strerror(errno));
else if (n < sizeof(struct disklabel))
- fatal("short read of disklabel: %d of %d bytes", n,
- sizeof(struct disklabel));
+ fatal("short read of disklabel: %d of %ld bytes", n,
+ (u_long) sizeof(struct disklabel));
return(&lab);
}
Home |
Main Index |
Thread Index |
Old Index