2009-04-14 Felix Zielcke <fzielcke@z-51.de>
commit19b36566701a7f00731002f7bc753362497f8165
authorFelix Zielcke <fzielcke@z-51.de>
Tue, 14 Apr 2009 07:01:34 +0000 (14 07:01 +0000)
committerFelix Zielcke <fzielcke@z-51.de>
Tue, 14 Apr 2009 07:01:34 +0000 (14 07:01 +0000)
tree44ee6ddab54ded6c4adab1bf4fb7572b34231a1b
parent74b4e112075c7af02188658892ed6febf654a63e
2009-04-14  Felix Zielcke  <fzielcke@z-51.de>

* util/hostdisk.c [__FreeBSD__ || __FreeBSD_kernel__]: Include
<sys/param.h> and <sys/sysctl.h>.
(open_device) [__FreeBSD__ || __FreeBSD_kernel_]: Use sysctlgetbyname()
to add 0x10 to `kern.geom.debugflags' if it's not already set, before
opening the device and reset them afterwards.

git-svn-id: svn://svn.savannah.gnu.org/grub/trunk/grub2@2105 d0de0278-0dc1-4c01-8a07-af38b3205e46
ChangeLog
util/hostdisk.c