aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-12 22:43:20 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-12 22:43:20 +0000
commit60c92512459bf4e5a072387dfa4d03ae85035cba (patch)
tree08de18a783dbb518dfbe5832751a214aff7d0a7a /miscutils
parent7b23873aac83f79d2d5694963fd34a61ed0543c1 (diff)
downloadbusybox-w32-60c92512459bf4e5a072387dfa4d03ae85035cba.tar.gz
busybox-w32-60c92512459bf4e5a072387dfa4d03ae85035cba.tar.bz2
busybox-w32-60c92512459bf4e5a072387dfa4d03ae85035cba.zip
bb_get_[chomped]line_from_file wasn't descriptive enough.
Renaming... git-svn-id: svn://busybox.net/trunk/busybox@16375 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/dc.c2
-rw-r--r--miscutils/makedevs.c2
2 files changed, 2 insertions, 2 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)
208 char *line = NULL; 208 char *line = NULL;
209 char *cursor = NULL; 209 char *cursor = NULL;
210 char *token = NULL; 210 char *token = NULL;
211 while ((line = bb_get_chomped_line_from_file(stdin))) { 211 while ((line = xmalloc_getline(stdin))) {
212 cursor = line; 212 cursor = line;
213 len = number_of_tokens(line); 213 len = number_of_tokens(line);
214 for (i = 0; i < len; i++) { 214 for (i = 0; i < len; i++) {
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c
index e27634add..e4658010c 100644
--- a/miscutils/makedevs.c
+++ b/miscutils/makedevs.c
@@ -95,7 +95,7 @@ int makedevs_main(int argc, char **argv)
95 printf("table=<stdin>\n"); 95 printf("table=<stdin>\n");
96 } 96 }
97 97
98 while ((line = bb_get_chomped_line_from_file(table))) { 98 while ((line = xmalloc_getline(table))) {
99 char type; 99 char type;
100 unsigned int mode = 0755; 100 unsigned int mode = 0755;
101 unsigned int major = 0; 101 unsigned int major = 0;