1
0
Fork 0
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:
Frank Gevaerts 2010-12-29 19:40:02 +00:00
parent 65850011cc
commit 6406e61e5c

View file

@ -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,