summaryrefslogtreecommitdiff
path: root/userland/minibox/utilities/touch.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-04-17 23:15:36 +0200
committerAnton Kling <anton@kling.gg>2024-04-17 23:15:36 +0200
commite8deee43bc0a8a9bf7664485bb0ce3b886189dae (patch)
treed6e2c2da813d2ca549cf512604d6560579dac2f4 /userland/minibox/utilities/touch.c
parentb913a159103bedec035207fe4d84c9ad9c313517 (diff)
VFS/LibC: Fix small bugs
Diffstat (limited to 'userland/minibox/utilities/touch.c')
-rw-r--r--userland/minibox/utilities/touch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userland/minibox/utilities/touch.c b/userland/minibox/utilities/touch.c
index 949ad96..dd2f072 100644
--- a/userland/minibox/utilities/touch.c
+++ b/userland/minibox/utilities/touch.c
@@ -5,7 +5,7 @@ int touch_main(int argc, char **argv) {
if (argc < 2)
return 1;
int fd;
- COND_PERROR_EXP(open(argv[1], 0, O_CREAT), "open", return 1)
+ COND_PERROR_EXP(open(argv[1], O_CREAT, 0), "open", return 1)
close(fd);
return 0;
}