mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-25 03:54:17 +01:00
Doh, fix some botched "fix" in r320277.
Reported by: cem MFC after: 6 weeks
This commit is contained in:
parent
f4358911bf
commit
b5273808ce
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320301
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user