mirror of
https://github.com/wiiu-env/libmocha.git
synced 2024-11-17 00:49:24 +01:00
Test fix
Same fix as one in wut devoptab
This commit is contained in:
parent
cd0f3d1281
commit
27b5f01b19
@ -69,6 +69,7 @@ int __fsa_open(struct _reent *r,
|
|||||||
file = (__fsa_file_t *) fileStruct;
|
file = (__fsa_file_t *) fileStruct;
|
||||||
file->fd = fd;
|
file->fd = fd;
|
||||||
file->flags = (flags & (O_ACCMODE | O_APPEND | O_SYNC));
|
file->flags = (flags & (O_ACCMODE | O_APPEND | O_SYNC));
|
||||||
|
file->offset = 0;
|
||||||
strncpy(file->path, fixedPath, FS_MAX_PATH);
|
strncpy(file->path, fixedPath, FS_MAX_PATH);
|
||||||
free(fixedPath);
|
free(fixedPath);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user