Silly compile fixes from resource_disabled() commit.
Reported by: tinderbox Pointy hat to: jhb
This commit is contained in:
parent
fa4b32fa80
commit
5cc1a74e77
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117199
@ -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;
|
||||
}
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user