commit | b3b923a7387c6baa12fc24ac1775617604a3e316 | [log] [tgz] |
---|---|---|
author | b.liu <b.liu@mobiletek.cn> | Thu Jun 06 15:15:49 2024 +0800 |
committer | b.liu <b.liu@mobiletek.cn> | Thu Jun 06 15:15:49 2024 +0800 |
tree | 97daf702c80dcd70722fc2425ea5e781ee65529b | |
parent | a066e066370dcad0fc59522c3170bf16663de402 [diff] [blame] |
兼容glibc Change-Id: I7b1361d8f1e3c31c2d94b31b6addc32869dee457
diff --git a/mbtk/test/others/fs_full.c b/mbtk/test/others/fs_full.c index 88bf28a..cb53e49 100755 --- a/mbtk/test/others/fs_full.c +++ b/mbtk/test/others/fs_full.c
@@ -7,7 +7,7 @@ int main(int argc, char *argv[]) { - int fd = open("/test.data", O_WRONLY | O_CREAT | O_APPEND); + int fd = open("/test.data", O_WRONLY | O_CREAT | O_APPEND, 0666); if(fd < 0) { printf("open() fail:%d", errno); return -1;