From e8deee43bc0a8a9bf7664485bb0ce3b886189dae Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 17 Apr 2024 23:15:36 +0200 Subject: VFS/LibC: Fix small bugs --- userland/minibox/utilities/touch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'userland/minibox') 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; } -- cgit v1.2.3