diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-18 23:59:03 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-18 23:59:03 +0000 |
commit | ca40cc4d80863b7520492467135ff185b8322459 (patch) | |
tree | 083c3dad70b970ba65848de929fbb8d4b738676a /coreutils/stty.c | |
parent | aa074b9c43f69aa62adb15e3342a0ef63f625678 (diff) | |
download | busybox-w32-ca40cc4d80863b7520492467135ff185b8322459.tar.gz busybox-w32-ca40cc4d80863b7520492467135ff185b8322459.tar.bz2 busybox-w32-ca40cc4d80863b7520492467135ff185b8322459.zip |
Undo all of the ugliness and some of the bloat from 15412.
git-svn-id: svn://busybox.net/trunk/busybox@15421 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/stty.c')
-rw-r--r-- | coreutils/stty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/stty.c b/coreutils/stty.c index cfb7f7f39..b78368e7b 100644 --- a/coreutils/stty.c +++ b/coreutils/stty.c | |||
@@ -1190,7 +1190,7 @@ static void display_speed(struct termios *mode, int fancy) | |||
1190 | if (fancy) { | 1190 | if (fancy) { |
1191 | fmt_str += 9; | 1191 | fmt_str += 9; |
1192 | } | 1192 | } |
1193 | wrapf(fmt_str, bb_baud_to_value(ispeed), bb_baud_to_value(ospeed)); | 1193 | wrapf(fmt_str, tty_baud_to_value(ispeed), tty_baud_to_value(ospeed)); |
1194 | if (!fancy) | 1194 | if (!fancy) |
1195 | current_col = 0; | 1195 | current_col = 0; |
1196 | } | 1196 | } |
@@ -1239,7 +1239,7 @@ static int recover_mode(char *arg, struct termios *mode) | |||
1239 | 1239 | ||
1240 | static speed_t string_to_baud(const char *arg) | 1240 | static speed_t string_to_baud(const char *arg) |
1241 | { | 1241 | { |
1242 | return bb_value_to_baud(bb_xparse_number(arg, 0)); | 1242 | return tty_value_to_baud(bb_xparse_number(arg, 0)); |
1243 | } | 1243 | } |
1244 | 1244 | ||
1245 | static void sane_mode(struct termios *mode) | 1245 | static void sane_mode(struct termios *mode) |