diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-26 20:04:27 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-26 20:04:27 +0000 |
commit | 8ee649a02e97e9d4e770a8138ba94c0f3ddd8055 (patch) | |
tree | cf13ce448542a36595264ad53397a0633ffedcc8 /miscutils | |
parent | ce7eb4443cc90038aabc19a8b7b8f25e4b88892e (diff) | |
download | busybox-w32-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.tar.gz busybox-w32-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.tar.bz2 busybox-w32-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.zip |
*: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/dc.c | 2 | ||||
-rw-r--r-- | miscutils/makedevs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c index 612937556..193929c8e 100644 --- a/miscutils/dc.c +++ b/miscutils/dc.c | |||
@@ -204,7 +204,7 @@ int dc_main(int argc ATTRIBUTE_UNUSED, char **argv) | |||
204 | char *line; | 204 | char *line; |
205 | char *cursor; | 205 | char *cursor; |
206 | char *token; | 206 | char *token; |
207 | while ((line = xmalloc_getline(stdin)) != NULL) { | 207 | while ((line = xmalloc_fgetline(stdin)) != NULL) { |
208 | cursor = line; | 208 | cursor = line; |
209 | while (1) { | 209 | while (1) { |
210 | token = get_token(&cursor); | 210 | token = get_token(&cursor); |
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index 1f88f3428..43e4b8c4d 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c | |||
@@ -97,7 +97,7 @@ int makedevs_main(int argc, char **argv) | |||
97 | printf("table=<stdin>\n"); | 97 | printf("table=<stdin>\n"); |
98 | } | 98 | } |
99 | 99 | ||
100 | while ((line = xmalloc_getline(table))) { | 100 | while ((line = xmalloc_fgetline(table)) != NULL) { |
101 | char type; | 101 | char type; |
102 | unsigned int mode = 0755; | 102 | unsigned int mode = 0755; |
103 | unsigned int major = 0; | 103 | unsigned int major = 0; |