From da9287c16c65e3bd7afdb3c2cae1abe38e6ec450 Mon Sep 17 00:00:00 2001 From: ppom Date: Tue, 22 Apr 2025 12:00:00 +0200 Subject: [PATCH] ip46tables: fix return type of exec func --- helpers_c/ip46tables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers_c/ip46tables.c b/helpers_c/ip46tables.c index 3af3c78..02ce85a 100644 --- a/helpers_c/ip46tables.c +++ b/helpers_c/ip46tables.c @@ -59,7 +59,7 @@ int guess_type(int len, char *tab[]) { return 0; } -int exec(char *str, char **argv) { +void exec(char *str, char **argv) { argv[0] = str; execvp(str, argv); // returns only if fails