diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mountlist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mountlist.c b/lib/mountlist.c index 096593fb1..9051e817d 100644 --- a/lib/mountlist.c +++ b/lib/mountlist.c @@ -612,6 +612,7 @@ read_filesystem_list (int need_fs_type) if (ferror (fp)) { + /* The last fread() call must have failed. */ int saved_errno = errno; fclose (fp); errno = saved_errno; |