From b5273808cea86d5c79313fc24d42d5dc7ab9582b Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Fri, 23 Jun 2017 23:11:05 +0000 Subject: [PATCH] Doh, fix some botched "fix" in r320277. Reported by: cem MFC after: 6 weeks --- usr.bin/mkuzip/mkuz_insize.c | 1 - 1 file changed, 1 deletion(-) diff --git a/usr.bin/mkuzip/mkuz_insize.c b/usr.bin/mkuzip/mkuz_insize.c index 20a4ab675108..f1c2d1eaca71 100644 --- a/usr.bin/mkuzip/mkuz_insize.c +++ b/usr.bin/mkuzip/mkuz_insize.c @@ -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) {