summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorRob Landley2006-06-18 23:59:03 +0000
committerRob Landley2006-06-18 23:59:03 +0000
commit290fcb4213ae5ab9ec6cb228dd64ef2c9f02d26d (patch)
tree083c3dad70b970ba65848de929fbb8d4b738676a /loginutils
parentea224be6aa8fed5486376d3021a4cb911e935106 (diff)
downloadbusybox-290fcb4213ae5ab9ec6cb228dd64ef2c9f02d26d.zip
busybox-290fcb4213ae5ab9ec6cb228dd64ef2c9f02d26d.tar.gz
Undo all of the ugliness and some of the bloat from 15412.
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/getty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c
index 11eb5a0..e68f2cd 100644
--- a/loginutils/getty.c
+++ b/loginutils/getty.c
@@ -287,7 +287,7 @@ static int bcode(const char *s)
if (safe_strtoul((char *)s, &value)) {
return -1;
}
- if ((r = bb_value_to_baud(value)) > 0) {
+ if ((r = tty_value_to_baud(value)) > 0) {
return r;
}
return 0;