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 /util-linux/mount.c | |
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 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index bd5f27b2e..351a31a73 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -362,7 +362,7 @@ static llist_t *get_block_backed_filesystems(void) | |||
362 | f = fopen(filesystems[i], "r"); | 362 | f = fopen(filesystems[i], "r"); |
363 | if (!f) continue; | 363 | if (!f) continue; |
364 | 364 | ||
365 | while ((buf = xmalloc_getline(f)) != 0) { | 365 | while ((buf = xmalloc_fgetline(f)) != NULL) { |
366 | if (!strncmp(buf, "nodev", 5) && isspace(buf[5])) | 366 | if (!strncmp(buf, "nodev", 5) && isspace(buf[5])) |
367 | continue; | 367 | continue; |
368 | fs = skip_whitespace(buf); | 368 | fs = skip_whitespace(buf); |