* util/grub-macho2img.c: Use plain fopen rather than grub_util_fopen.
This commit is contained in:
parent
0d2d30bb39
commit
348d05359c
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-11-11 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub-macho2img.c: Use plain fopen rather than grub_util_fopen.
|
||||
|
||||
2013-11-11 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* configure.ac: Check for lzma.h for enabling liblzma and allow
|
||||
|
|
|
@ -52,13 +52,13 @@ main (int argc, char **argv)
|
|||
"Convert Mach-O into raw image\n", argv[0]);
|
||||
return 0;
|
||||
}
|
||||
in = grub_util_fopen (argv[1 + do_bss], "rb");
|
||||
in = fopen (argv[1 + do_bss], "rb");
|
||||
if (! in)
|
||||
{
|
||||
printf ("Couldn't open %s\n", argv[1 + do_bss]);
|
||||
return 1;
|
||||
}
|
||||
out = grub_util_fopen (argv[2 + do_bss], "wb");
|
||||
out = fopen (argv[2 + do_bss], "wb");
|
||||
if (! out)
|
||||
{
|
||||
fclose (in);
|
||||
|
|
Loading…
Reference in a new issue