summaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-03-26 20:04:27 +0000
committerDenis Vlasenko2008-03-26 20:04:27 +0000
commit8ee649a02e97e9d4e770a8138ba94c0f3ddd8055 (patch)
treecf13ce448542a36595264ad53397a0633ffedcc8 /util-linux/mount.c
parentce7eb4443cc90038aabc19a8b7b8f25e4b88892e (diff)
downloadbusybox-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.zip
busybox-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.tar.gz
*: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r--util-linux/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index bd5f27b..351a31a 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -362,7 +362,7 @@ static llist_t *get_block_backed_filesystems(void)
f = fopen(filesystems[i], "r");
if (!f) continue;
- while ((buf = xmalloc_getline(f)) != 0) {
+ while ((buf = xmalloc_fgetline(f)) != NULL) {
if (!strncmp(buf, "nodev", 5) && isspace(buf[5]))
continue;
fs = skip_whitespace(buf);