forked from pool/util-linux
.
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=213
This commit is contained in:
parent
5a45758111
commit
8576e20bea
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user