From 3a5e99ecfbdf1108ce6264370118c2b7e4b50604 Mon Sep 17 00:00:00 2001 From: rwatson Date: Fri, 15 Aug 2003 17:56:44 +0000 Subject: #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 --- sys/dev/vinum/vinumio.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/vinum') 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 */ -- cgit v1.1