commit | 8ee649a02e97e9d4e770a8138ba94c0f3ddd8055 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Wed Mar 26 20:04:27 2008 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Wed Mar 26 20:04:27 2008 +0000 |
tree | cf13ce448542a36595264ad53397a0633ffedcc8 | |
parent | ce7eb4443cc90038aabc19a8b7b8f25e4b88892e [diff] [blame] |
*: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index 1f88f34..43e4b8c 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c
@@ -97,7 +97,7 @@ printf("table=<stdin>\n"); } - while ((line = xmalloc_getline(table))) { + while ((line = xmalloc_fgetline(table)) != NULL) { char type; unsigned int mode = 0755; unsigned int major = 0;