Skip to content

Commit

Permalink
Add create flag
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Wang <[email protected]>
  • Loading branch information
wangvsa committed Dec 25, 2024
1 parent a99a3b0 commit 341b65a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_iopr.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
int main(int argc, char** argv) {
MPI_Init(&argc, &argv);

int fd = open("./workfile.out", O_WRONLY);
int fd = open("./workfile.out", O_CREAT|O_WRONLY);
printf("fd: %d\n", fd);

off_t offset = 0;
Expand Down

0 comments on commit 341b65a

Please sign in to comment.