diff options
author | jhb <jhb@FreeBSD.org> | 2003-07-03 14:33:17 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-07-03 14:33:17 +0000 |
commit | 13708eb5d055f1af7a5bad4f45bc5c121dfdc80a (patch) | |
tree | 5fe8636d7b8cafb1ced1a6a6994249f780f4fe9a /sys | |
parent | e9df6b7a142eb6576de449a7025b728f30224161 (diff) | |
download | FreeBSD-src-13708eb5d055f1af7a5bad4f45bc5c121dfdc80a.zip FreeBSD-src-13708eb5d055f1af7a5bad4f45bc5c121dfdc80a.tar.gz |
Silly compile fixes from resource_disabled() commit.
Reported by: tinderbox
Pointy hat to: jhb
Diffstat (limited to 'sys')
-rw-r--r-- | sys/alpha/alpha/mp_machdep.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/pcvt/pcvt_drv.c | 1 |
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)) |