diff options
author | Denis Vlasenko | 2008-03-26 20:04:27 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-03-26 20:04:27 +0000 |
commit | 8ee649a02e97e9d4e770a8138ba94c0f3ddd8055 (patch) | |
tree | cf13ce448542a36595264ad53397a0633ffedcc8 /coreutils/cut.c | |
parent | ce7eb4443cc90038aabc19a8b7b8f25e4b88892e (diff) | |
download | busybox-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.zip busybox-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.tar.gz |
*: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/
Diffstat (limited to 'coreutils/cut.c')
-rw-r--r-- | coreutils/cut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c index e617ef2..7a44d10 100644 --- a/coreutils/cut.c +++ b/coreutils/cut.c @@ -51,7 +51,7 @@ static void cut_file(FILE *file, char delim) unsigned int linenum = 0; /* keep these zero-based to be consistent */ /* go through every line in the file */ - while ((line = xmalloc_getline(file)) != NULL) { + while ((line = xmalloc_fgetline(file)) != NULL) { /* set up a list so we can keep track of what's been printed */ char * printed = xzalloc(strlen(line) * sizeof(char)); |