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->fd = fd;
|
||||
file->flags = (flags & (O_ACCMODE | O_APPEND | O_SYNC));
|
||||
file->offset = 0;
|
||||
strncpy(file->path, fixedPath, FS_MAX_PATH);
|
||||
free(fixedPath);
|
||||
|
||||
@ -84,4 +85,4 @@ int __fsa_open(struct _reent *r,
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user