mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
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
|
#ifdef HAVE_PLUGIN_CHECK_OPEN_CLOSE
|
||||||
(creat_func)creat_wrapper,
|
(creat_func)creat_wrapper,
|
||||||
#else
|
#else
|
||||||
(creat_func)creat,
|
PREFIX(creat),
|
||||||
#endif
|
#endif
|
||||||
(write_func)PREFIX(write),
|
(write_func)PREFIX(write),
|
||||||
remove,
|
remove,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue