1
0
forked from pool/util-linux
Dr. Werner Fink 2014-02-04 09:33:45 +00:00 committed by Git OBS Bridge
parent 5a45758111
commit 8576e20bea

View File

@ -1,5 +1,5 @@
--- term-utils/agetty.c
+++ term-utils/agetty.c 2014-02-04 09:28:32.564461786 +0000
+++ term-utils/agetty.c 2014-02-04 09:33:13.162735763 +0000
@@ -568,6 +568,8 @@ static void login_options_to_argv(char *
*argc = i;
}
@ -23,7 +23,7 @@
if (argc > optind) {
char *v = argv[optind++];
- if ('0' <= *v && *v <= '9')
+ if (is_speed(*v))
+ if (is_speed(v))
parse_speeds(op, v);
else
op->speeds[op->numspeed++] = bcode("9600");