aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/tools/wg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wg.c b/src/tools/wg.c
index c0171b6..97910ee 100644
--- a/src/tools/wg.c
+++ b/src/tools/wg.c
@@ -42,7 +42,7 @@ int main(int argc, char *argv[])
}
if (argc == 1) {
- char *new_argv[] = { "show", NULL };
+ static char *new_argv[] = { "show", NULL };
return show_main(1, new_argv);
}