* grub-core/tests/video_checksum.c: Use grub_util_fd_* rather than

open/read/write.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-15 11:06:57 +02:00
parent 69ca587652
commit 25ac643a54
11 changed files with 67 additions and 42 deletions

View file

@ -106,7 +106,7 @@ grub_util_fd_open (const char *os_dev, int flags)
return GRUB_UTIL_FD_INVALID;
}
ret = open (os_dev, flags);
ret = open (os_dev, flags, S_IRUSR | S_IWUSR);
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
if (! (sysctl_oldflags & 0x10)