summaryrefslogtreecommitdiff
path: root/sbin/raidctl
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>1998-11-23 00:18:40 +0000
committermrg <mrg@NetBSD.org>1998-11-23 00:18:40 +0000
commitda5f0873c9f45cf38e984e06d9eb6b24fceff4eb (patch)
tree24b01777d7eb4a2b7d7c68b8e338a2c892b8248b /sbin/raidctl
parentfdbb273f394d69c8642c9c8f80bdd796db87c1e2 (diff)
fix compile errors on the alpha.
Diffstat (limited to 'sbin/raidctl')
-rw-r--r--sbin/raidctl/rf_configure.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/raidctl/rf_configure.c b/sbin/raidctl/rf_configure.c
index 18dcfd2dc38..b741d92e294 100644
--- a/sbin/raidctl/rf_configure.c
+++ b/sbin/raidctl/rf_configure.c
@@ -47,7 +47,11 @@
/* $Locker: $
* $Log: rf_configure.c,v $
+ * Revision 1.2 1998/11/23 00:18:40 mrg
+ * fix compile errors on the alpha.
+ *
* Revision 1.1 1998/11/13 04:34:02 oster
+ *
* RAIDframe, version 1.1, from the Parallel Data Laboratory at
* Carnegie Mellon University. Full RAID implementation, including
* levels 0, 1, 4, 5, 6, parity logging, and a few other goodies.
@@ -439,7 +443,7 @@ int rf_MakeLayoutSpecificDeclustered(configfp, cfgPtr, arg)
*p++ = (char) val;
fclose(fp);
if (p - cfgBuf != cfgPtr->layoutSpecificSize) {
- RF_ERRORMSG2("Size mismatch creating layout specific data: is %d sb %d bytes\n",(p-cfgBuf),6*sizeof(int)+b*k);
+ RF_ERRORMSG2("Size mismatch creating layout specific data: is %d sb %d bytes\n",(int)(p-cfgBuf),(int)(6*sizeof(int)+b*k));
return(EINVAL);
}
return(0);