summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/alpha/alpha/mp_machdep.c2
-rw-r--r--sys/i386/isa/pcvt/pcvt_drv.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/alpha/alpha/mp_machdep.c b/sys/alpha/alpha/mp_machdep.c
index 4a7f725..609fa85 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 b437e0c..432f25a 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))
OpenPOWER on IntegriCloud