Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/dev/raidframe Pullup 1.17 to 1.18. Fixup some comp...
details: https://anonhg.NetBSD.org/src/rev/ea0805950d0f
branches: netbsd-1-4
changeset: 468191:ea0805950d0f
user: oster <oster%NetBSD.org@localhost>
date: Mon Apr 12 22:09:10 1999 +0000
description:
Pullup 1.17 to 1.18. Fixup some compiler warnings which get
generated on the Alpha port.
diffstat:
sys/dev/raidframe/rf_netbsdkintf.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r ae5d3151501b -r ea0805950d0f sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c Mon Apr 12 21:31:33 1999 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c Mon Apr 12 22:09:10 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.16.2.1 1999/04/07 16:37:50 oster Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.16.2.2 1999/04/12 22:09:10 oster Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -1863,14 +1863,14 @@
if (lp->d_secperunit != rs->sc_size)
printf("WARNING: %s: "
"total sector size in disklabel (%d) != "
- "the size of raid (%d)\n", rs->sc_xname,
- lp->d_secperunit, rs->sc_size);
+ "the size of raid (%ld)\n", rs->sc_xname,
+ lp->d_secperunit, (long) rs->sc_size);
for (i = 0; i < lp->d_npartitions; i++) {
pp = &lp->d_partitions[i];
if (pp->p_offset + pp->p_size > rs->sc_size)
printf("WARNING: %s: end of partition `%c' "
- "exceeds the size of raid (%d)\n",
- rs->sc_xname, 'a' + i, rs->sc_size);
+ "exceeds the size of raid (%ld)\n",
+ rs->sc_xname, 'a' + i, (long) rs->sc_size);
}
}
Home |
Main Index |
Thread Index |
Old Index