From 4ac9fbcf79c1b034f4209eb4f4009ba5385ba265 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Fri, 15 Aug 2003 17:56:44 +0000 Subject: [PATCH] #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(+) diff --git a/sys/dev/vinum/vinumio.c b/sys/dev/vinum/vinumio.c index 9d3283cce03..0fdbf450dc2 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 */