* grub-core/tests/video_checksum.c (grub_video_capture_write_bmp):

Use GRUB_UTIL_FD_O_* rather than O_*.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-19 23:48:24 +02:00
parent 2028576504
commit 99519c154c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-10-19 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/tests/video_checksum.c (grub_video_capture_write_bmp):
Use GRUB_UTIL_FD_O_* rather than O_*.
2013-10-19 Vladimir Serbinenko <phcoder@gmail.com>
Add haiku-specific functions.

View file

@ -266,7 +266,7 @@ grub_video_capture_write_bmp (const char *fname,
void *ptr,
const struct grub_video_mode_info *mode_info)
{
grub_util_fd_t fd = grub_util_fd_open (fname, O_WRONLY | O_CREAT | O_TRUNC);
grub_util_fd_t fd = grub_util_fd_open (fname, GRUB_UTIL_FD_O_WRONLY | GRUB_UTIL_FD_O_CREATTRUNC);
struct bmp_header head;
if (!GRUB_UTIL_FD_IS_VALID (fd))