summaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c
index 178792f..0707d29 100644
--- a/e2fsprogs/fsck.c
+++ b/e2fsprogs/fsck.c
@@ -391,7 +391,7 @@ static void load_fs_info(const char *filename)
}
while (1) {
int r;
- char *buf = xmalloc_getline(f);
+ char *buf = xmalloc_fgetline(f);
if (!buf) break;
r = parse_fstab_line(buf, &fs);
free(buf);