aboutsummaryrefslogtreecommitdiff
path: root/miscutils/dc.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-10-12 22:43:20 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-10-12 22:43:20 +0000
commit2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c (patch)
tree08de18a783dbb518dfbe5832751a214aff7d0a7a /miscutils/dc.c
parent372686bde7b4c0abaf01123d8dda1dc6ab9a92e2 (diff)
downloadbusybox-2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c.tar.gz
busybox-2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c.tar.bz2
bb_get_[chomped]line_from_file wasn't descriptive enough.
Renaming...
Diffstat (limited to 'miscutils/dc.c')
-rw-r--r--miscutils/dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c
index 8e7a2494c..fd5390143 100644
--- a/miscutils/dc.c
+++ b/miscutils/dc.c
@@ -208,7 +208,7 @@ int dc_main(int argc, char **argv)
char *line = NULL;
char *cursor = NULL;
char *token = NULL;
- while ((line = bb_get_chomped_line_from_file(stdin))) {
+ while ((line = xmalloc_getline(stdin))) {
cursor = line;
len = number_of_tokens(line);
for (i = 0; i < len; i++) {