Author: asomers
Date: Wed Apr  5 16:13:36 2017
New Revision: 316523
URL: https://svnweb.freebsd.org/changeset/base/316523

Log:
  Remove a duplicate fclose() that snuck into r316501
  
  Reported by:  Coverity
  CID:          1373338
  MFC after:    20 days
  X-MFC-With:   316501
  Sponsored by: Spectra Logic Corp

Modified:
  head/usr.bin/pr/pr.c

Modified: head/usr.bin/pr/pr.c
==============================================================================
--- head/usr.bin/pr/pr.c        Wed Apr  5 12:48:24 2017        (r316522)
+++ head/usr.bin/pr/pr.c        Wed Apr  5 16:13:36 2017        (r316523)
@@ -1386,7 +1386,6 @@ nxtfile(int argc, char **argv, const cha
                                        (void)fprintf(err,
                                                "pr: cannot stat %s, %s\n",
                                                argv[eoptind], strerror(errno));
-                                       fclose(inf);
                                        return(NULL);
                                }
                                timeptr = localtime(&(statbuf.st_mtime));
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to