changeset 4716:da9adb0ac598

Comment about the validity of errno.
author Bruno Haible <bruno@clisp.org>
date Wed, 17 Sep 2003 12:46:33 +0000
parents 7955c362317f
children ed7cd4050365
files lib/mountlist.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/mountlist.c
+++ b/lib/mountlist.c
@@ -612,6 +612,7 @@
 
     if (ferror (fp))
       {
+	/* The last fread() call must have failed.  */
 	int saved_errno = errno;
 	fclose (fp);
 	errno = saved_errno;