commit: 2c2676bd749a0c037fb580995f60170eb25dc065
parent 9db7ba2bcd7bf362d6c17a5a6c7c13b5edb1118c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 11 Dec 2024 20:59:24 +0100
cmd/whoami: format
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/cmd/whoami.c b/cmd/whoami.c
@@ -1,9 +1,10 @@
#include "../lib/err.h"
+
+#include <errno.h>
#include <pwd.h> // getpwuid
-#include <unistd.h> // geteuid
#include <stdio.h>
-#include <errno.h>
#include <string.h> // strerror
+#include <unistd.h> // geteuid
int
main(int argc, char *argv[])