diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/boot/early_serial_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/early_serial_console.c b/arch/x86/boot/early_serial_console.c index 030f4b93e255..407a8e26f0a7 100644 --- a/arch/x86/boot/early_serial_console.c +++ b/arch/x86/boot/early_serial_console.c | |||
@@ -58,7 +58,7 @@ static void parse_earlyprintk(void) | |||
58 | if (arg[pos] == ',') | 58 | if (arg[pos] == ',') |
59 | pos++; | 59 | pos++; |
60 | 60 | ||
61 | if (!strncmp(arg, "ttyS", 4)) { | 61 | if (!strncmp(arg + pos, "ttyS", 4)) { |
62 | static const int bases[] = { 0x3f8, 0x2f8 }; | 62 | static const int bases[] = { 0x3f8, 0x2f8 }; |
63 | int idx = 0; | 63 | int idx = 0; |
64 | 64 | ||