Doh, fix some botched "fix" in r320277.

Reported by:	cem
MFC after:	6 weeks
This commit is contained in:
sobomax 2017-06-23 23:11:05 +00:00
parent cd3358b852
commit 2e2334027d

View File

@ -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) {