forked from len0rd/rockbox
Properly prefix the creat function for sim builds, otherwise the system creat() is called, which doesn't do proper root-mangling to make the file end up in the right place. Fixes FS#11844
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28927 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
65850011cc
commit
6406e61e5c
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ static const struct plugin_api rockbox_api = {
|
|||
#ifdef HAVE_PLUGIN_CHECK_OPEN_CLOSE
|
||||
(creat_func)creat_wrapper,
|
||||
#else
|
||||
(creat_func)creat,
|
||||
PREFIX(creat),
|
||||
#endif
|
||||
(write_func)PREFIX(write),
|
||||
remove,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue