mirror of
https://github.com/wiiu-env/libmocha.git
synced 2026-08-27 20:54:04 -05:00
Test fix
Same fix as one in wut devoptab
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user