diff options
author | Eric Andersen | 2001-02-18 20:13:18 +0000 |
---|---|---|
committer | Eric Andersen | 2001-02-18 20:13:18 +0000 |
commit | 963791a9e9fb06ea515089925f95cf413374c1bc (patch) | |
tree | 2cbea90fc04e0f7ae1a4966e90e061495b121da8 /coreutils/stty.c | |
parent | f1bbb22dca4d39aa227246f4c2ee90acd7e512a4 (diff) | |
download | busybox-963791a9e9fb06ea515089925f95cf413374c1bc.zip busybox-963791a9e9fb06ea515089925f95cf413374c1bc.tar.gz |
Another patch from Vladimir to eliminate obsolete junk.
Diffstat (limited to 'coreutils/stty.c')
-rw-r--r-- | coreutils/stty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/coreutils/stty.c b/coreutils/stty.c index 0fc0bfb..4a5aecf 100644 --- a/coreutils/stty.c +++ b/coreutils/stty.c @@ -1302,10 +1302,9 @@ static const int NUM_SPEEDS = (sizeof(speeds) / sizeof(struct speed_map)); static speed_t string_to_baud(const char *arg) { int i; - static const struct suffix_mult stty_zerosuff = { NULL, 0 }; for (i = 0; i < NUM_SPEEDS; ++i) - if (parse_number(arg, &stty_zerosuff) == speeds[i].value) + if (parse_number(arg, 0) == speeds[i].value) return speeds[i].speed; return (speed_t) - 1; } |