From 11468f26f8c83491bb9782c8ca2e468fb181e9e7 Mon Sep 17 00:00:00 2001 From: wb2osz Date: Sun, 5 Mar 2023 15:38:06 +0000 Subject: [PATCH] Improve error message. --- src/direwolf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/direwolf.c b/src/direwolf.c index 5157e8e..6215e96 100644 --- a/src/direwolf.c +++ b/src/direwolf.c @@ -383,7 +383,7 @@ int main (int argc, char *argv[]) #ifndef __WIN32__ if (getuid() == 0 || geteuid() == 0) { text_color_set(DW_COLOR_ERROR); - for (n=0; n<15; n++) { + for (int n=0; n<15; n++) { dw_printf ("\n"); dw_printf ("Dire Wolf requires only privileges available to ordinary users.\n"); dw_printf ("Running this as root is an unnecessary security risk.\n");