memtest86plus/memtest86+-5.31b-serial-console-fix.patch
Petr Šabata b75931cc4c RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/memtest86+#12a1d1c022a0529210476eb82cd97d41fc673909
2020-10-15 19:34:56 +02:00

14 lines
304 B
Diff

diff --git a/lib.c b/lib.c
index a2b829d..6a7e210 100644
--- a/lib.c
+++ b/lib.c
@@ -1141,7 +1141,7 @@ void serial_console_setup(char *param)
end++;
- if (*end != '\0' || *end != ' ')
+ if (*end != '\0' && *end != ' ')
return; /* garbage at the end */
serial_bits = bits;