commit b59f5f3d7b5ef6876727f55faf4a81f1478700e6
Author: Alexander Kuleshov <[email protected]>
Date: Mon Dec 28 18:22:50 2015 +0600
fdisk(8): close boot_fd on failure
The init_boot() function opens/reads the /boot/mbr file or
file which is given with the -b option. There are couple
failure cases can be occured there. So we need to close
file description of /boot/mbr.
Summary of changes:
sbin/fdisk/fdisk.c | 9 +++++++++
1 file changed, 9 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b59f5f3d7b5ef6876727f55faf4a81f1478700e6
--
DragonFly BSD source repository