From 4882ae464fa4ddc1e986b7cf97a0796a2029fd7f Mon Sep 17 00:00:00 2001 From: oster Date: Mon, 12 Apr 1999 19:39:59 +0000 Subject: [PATCH] Fix a couple of compiler warnings on the Alpha. Pointed out by Tim Rightnour. --- sys/dev/raidframe/rf_netbsdkintf.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c index e19e8ec53922..fc18689ac5b2 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); } }