From 8ee649a02e97e9d4e770a8138ba94c0f3ddd8055 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 26 Mar 2008 20:04:27 +0000 Subject: *: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/ --- miscutils/dc.c | 2 +- miscutils/makedevs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'miscutils') 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) char *line; char *cursor; char *token; - while ((line = xmalloc_getline(stdin)) != NULL) { + while ((line = xmalloc_fgetline(stdin)) != NULL) { cursor = line; while (1) { 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) printf("table=\n"); } - while ((line = xmalloc_getline(table))) { + while ((line = xmalloc_fgetline(table)) != NULL) { char type; unsigned int mode = 0755; unsigned int major = 0; -- cgit v1.2.3