From b033314bf1901d436dc71d41d5e1f37dda47e511 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 12 Dec 2024 16:03:08 +0100 Subject: formatting: Use clang-format on all projects This commit also add braces to all `if` statements. --- userland/minibox/utilities/touch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'userland/minibox/utilities/touch.c') diff --git a/userland/minibox/utilities/touch.c b/userland/minibox/utilities/touch.c index dd2f072..c9236e2 100644 --- a/userland/minibox/utilities/touch.c +++ b/userland/minibox/utilities/touch.c @@ -2,8 +2,9 @@ #include int touch_main(int argc, char **argv) { - if (argc < 2) + if (argc < 2) { return 1; + } int fd; COND_PERROR_EXP(open(argv[1], O_CREAT, 0), "open", return 1) close(fd); -- cgit v1.2.3