The leading space prevents it working if console=comX is the only argument.
Signed-off-by: Luca Dariz <l...@orpolo.org> --- i386/i386at/com.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i386/i386at/com.c b/i386/i386at/com.c index 3402a025..d1de51c0 100644 --- a/i386/i386at/com.c +++ b/i386/i386at/com.c @@ -183,7 +183,7 @@ comcnprobe(struct consdev *cp) struct bus_device *b; int maj, unit, pri; -#define CONSOLE_PARAMETER " console=com" +#define CONSOLE_PARAMETER "console=com" u_char *console = (u_char *) strstr(kernel_cmdline, CONSOLE_PARAMETER); if (console) -- 2.30.2