wg: no need to put this on the stack
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
8bf100a25b
commit
f583209935
1 changed files with 1 additions and 1 deletions
2
src/wg.c
2
src/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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue