summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>1999-04-12 19:39:59 +0000
committeroster <oster@NetBSD.org>1999-04-12 19:39:59 +0000
commit4882ae464fa4ddc1e986b7cf97a0796a2029fd7f (patch)
treed47a734e65858f4d7718a76dd061ff60f9665cad /sys/dev/raidframe
parent4622761326c524b244bdff42c930db2534c945f8 (diff)
Fix a couple of compiler warnings on the Alpha. Pointed out by Tim Rightnour.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_netbsdkintf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c
index e19e8ec5392..fc18689ac5b 100644
--- a/sys/dev/raidframe/rf_netbsdkintf.c
+++ b/sys/dev/raidframe/rf_netbsdkintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.17 1999/04/07 14:17:10 oster Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.18 1999/04/12 19:39:59 oster Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -1863,14 +1863,14 @@ raidgetdisklabel(dev)
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);
}
}