Date: Fri, 23 Jun 2017 23:11:05 +0000 (UTC) From: Maxim Sobolev <sobomax@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r320301 - head/usr.bin/mkuzip Message-ID: <201706232311.v5NNB5bF077995@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706232311.v5NNB5bF077995>