From 5cc1a74e778cf0ab7d76a1f9b01b9de7f91727e9 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 3 Jul 2003 14:33:17 +0000 Subject: [PATCH] Silly compile fixes from resource_disabled() commit. Reported by: tinderbox Pointy hat to: jhb --- sys/alpha/alpha/mp_machdep.c | 2 +- sys/i386/isa/pcvt/pcvt_drv.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/alpha/alpha/mp_machdep.c b/sys/alpha/alpha/mp_machdep.c index 4a7f7257e016..609fa85d3cdf 100644 --- a/sys/alpha/alpha/mp_machdep.c +++ b/sys/alpha/alpha/mp_machdep.c @@ -379,7 +379,7 @@ cpu_mp_start(void) } continue; } - if (resource_disabled("cpu", i)) + if (resource_disabled("cpu", i)) { printf("CPU %d disabled by loader.\n", i); continue; } diff --git a/sys/i386/isa/pcvt/pcvt_drv.c b/sys/i386/isa/pcvt/pcvt_drv.c index b437e0cf1f8e..432f25a3eb42 100644 --- a/sys/i386/isa/pcvt/pcvt_drv.c +++ b/sys/i386/isa/pcvt/pcvt_drv.c @@ -640,7 +640,6 @@ static void pcvt_cn_probe(struct consdev *cp) { int unit = 0; - int i; /* See if this driver is disabled in probe hint. */ if (resource_disabled("vt", unit))