Merge pull request #30 from JiuMu3/patch-2

Update todes.c
This commit is contained in:
riba2534
2024-09-26 00:08:01 +08:00
committed by GitHub

View File

@@ -7,7 +7,7 @@ int main()
int fd = open("data.dat", O_WRONLY | O_CREAT | O_TRUNC); int fd = open("data.dat", O_WRONLY | O_CREAT | O_TRUNC);
if (fd == -1) if (fd == -1)
{ {
fputs("file open error"); fputs("file open error",stdout);
return -1; return -1;
} }