From d12ae10a70e7e8a9494b55feff2be5cdd107ad3a Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Fri, 5 Sep 2008 14:31:08 -0400 Subject: [PATCH] Strip out , when parsing console Options can be passed to the console, we should ignore them when opening the console. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index a9a5dfe2..21bfae26 100644 --- a/src/main.c +++ b/src/main.c @@ -496,7 +496,7 @@ check_for_serial_console (state_t *state) free (state->console); state->console = strdup (console_key + strlen (" console=")); - end = strpbrk (state->console, " \n\t\v"); + end = strpbrk (state->console, " \n\t\v,"); if (end != NULL) *end = '\0';