Add a wrapper for fopen. On unix-like systems just pass-through. On
windows use unicode version.
This commit is contained in:
parent
ae5540d3d4
commit
bb338aaf24
27 changed files with 97 additions and 41 deletions
|
@ -435,7 +435,7 @@ read_device_map (const char *dev_map)
|
|||
return;
|
||||
}
|
||||
|
||||
fp = fopen (dev_map, "r");
|
||||
fp = grub_util_fopen (dev_map, "r");
|
||||
if (! fp)
|
||||
{
|
||||
grub_util_info (_("cannot open `%s': %s"), dev_map, strerror (errno));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue