diff options
| author | Frank Gevaerts <frank@gevaerts.be> | 2010-12-29 19:40:02 +0000 |
|---|---|---|
| committer | Frank Gevaerts <frank@gevaerts.be> | 2010-12-29 19:40:02 +0000 |
| commit | 6406e61e5cd6c7c7f67c903eb58c3d53f99dc03c (patch) | |
| tree | 4f724468b1a1256a86b6051aef1897f6d4936e93 /apps/plugin.c | |
| parent | 65850011ccf0baff376bf0d352528db2bb06f1a9 (diff) | |
| download | rockbox-6406e61e5cd6c7c7f67c903eb58c3d53f99dc03c.zip rockbox-6406e61e5cd6c7c7f67c903eb58c3d53f99dc03c.tar.gz rockbox-6406e61e5cd6c7c7f67c903eb58c3d53f99dc03c.tar.bz2 rockbox-6406e61e5cd6c7c7f67c903eb58c3d53f99dc03c.tar.xz | |
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
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index a8fff83..e07d5b4 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -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, |