svn commit: r320301 - head/usr.bin/mkuzip
Maxim Sobolev
sobomax at FreeBSD.org
Fri Jun 23 23:11:06 UTC 2017
Author: sobomax
Date: Fri Jun 23 23:11:05 2017
New Revision: 320301
URL: https://svnweb.freebsd.org/changeset/base/320301
Log:
Doh, fix some botched "fix" in r320277.
Reported by: cem
MFC after: 6 weeks
Modified:
head/usr.bin/mkuzip/mkuz_insize.c
Modified: head/usr.bin/mkuzip/mkuz_insize.c
==============================================================================
--- head/usr.bin/mkuzip/mkuz_insize.c Fri Jun 23 21:01:57 2017 (r320300)
+++ head/usr.bin/mkuzip/mkuz_insize.c Fri Jun 23 23:11:05 2017 (r320301)
@@ -59,7 +59,6 @@ mkuz_get_insize(struct mkuz_cfg *cfp)
ffd = open(statfsbuf.f_mntfromname, O_RDONLY);
if (ffd < 0) {
warn("open(%s, O_RDONLY)", statfsbuf.f_mntfromname);
- close(ffd);
return (-1);
}
if (ioctl(ffd, DIOCGMEDIASIZE, &ms) < 0) {
More information about the svn-src-all
mailing list