Silly compile fixes from resource_disabled() commit.

Reported by:	tinderbox
Pointy hat to:	jhb
This commit is contained in:
John Baldwin 2003-07-03 14:33:17 +00:00
parent fa4b32fa80
commit 5cc1a74e77
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117199
2 changed files with 1 additions and 2 deletions

View File

@ -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;
}

View File

@ -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))