mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37:35 +00:00
touch: Newly created files were accidentally marked as FIFO's.
This commit is contained in:
parent
fd500c79d6
commit
91f561a417
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ int main(int argc, char** argv)
|
|||
if (rc < 0)
|
||||
perror("utime");
|
||||
} else {
|
||||
int fd = open(argv[1], O_CREAT, 0010644);
|
||||
int fd = open(argv[1], O_CREAT, 0100644);
|
||||
if (fd < 0) {
|
||||
perror("open");
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue