diff options
-rw-r--r-- | i386/i386at/com.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/i386/i386at/com.c b/i386/i386at/com.c index d565a053..1f305b23 100644 --- a/i386/i386at/com.c +++ b/i386/i386at/com.c @@ -189,6 +189,11 @@ comcnprobe(struct consdev *cp) if (console) mach_atoi(console + strlen(CONSOLE_PARAMETER), &rcline); + if (strncmp(kernel_cmdline, CONSOLE_PARAMETER + 1, + strlen(CONSOLE_PARAMETER) - 1) == 0) + mach_atoi(kernel_cmdline + strlen(CONSOLE_PARAMETER) - 1, + &rcline); + maj = 0; unit = -1; pri = CN_DEAD; |