diff options
-rw-r--r-- | xen/drivers/char/ns16550.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/drivers/char/ns16550.c b/xen/drivers/char/ns16550.c index e09e30ddef..68c3649354 100644 --- a/xen/drivers/char/ns16550.c +++ b/xen/drivers/char/ns16550.c @@ -554,7 +554,7 @@ static void __init ns16550_parse_port_config( if ( *conf == ',' ) { conf++; - if ( strncmp(conf, "pci", 5) == 0 ) + if ( strncmp(conf, "pci", 3) == 0 ) { if ( pci_uart_config(uart, 1/* skip AMT */, uart - ns16550_com) ) return; |