From 7620cc92c20ec5c372891eac4a4051b45c3447e0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 17 Sep 2003 18:43:25 +0000 Subject: Add comment from Bruno Haible. --- lib/mountlist.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/mountlist.c') 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; -- cgit v1.2.3-54-g00ecf