summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-08-15 17:56:44 +0000
committerrwatson <rwatson@FreeBSD.org>2003-08-15 17:56:44 +0000
commit3a5e99ecfbdf1108ce6264370118c2b7e4b50604 (patch)
treeceecad741882c003135b79ccf7d69c3bf037fc21 /sys/dev/vinum
parent2de9e4015b59f75aaa910be7b3cb2cddd264e3bf (diff)
downloadFreeBSD-src-3a5e99ecfbdf1108ce6264370118c2b7e4b50604.zip
FreeBSD-src-3a5e99ecfbdf1108ce6264370118c2b7e4b50604.tar.gz
#ifdef __i386__ the "int slice" definition that became i386-only with
recent Vinum changes. Fixes non-i386 build on vinumio.c. Accidental oversight of: grog Fix hopefully not minded by: grog
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r--sys/dev/vinum/vinumio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/vinum/vinumio.c b/sys/dev/vinum/vinumio.c
index 9d3283c..0fdbf45 100644
--- a/sys/dev/vinum/vinumio.c
+++ b/sys/dev/vinum/vinumio.c
@@ -764,7 +764,9 @@ vinum_scandisk(char *devicename)
/* Open all drives and find which was modified most recently */
for (cp = devicename; *cp; cp = ep) {
char part; /* UNIX partition */
+#ifdef __i386__
int slice;
+#endif
while (*cp == ' ')
cp++; /* find start of name */
OpenPOWER on IntegriCloud