commit 9a21794f162dfca1f2dae8492aa46ed4df6cbfea parent 03d062383ee167be783bbc391701261e7ab416ea Author: zerous Naveen Narayanan <zerous@nocebo.space> Date: Wed, 30 Oct 2019 21:28:13 +0100 Use arg in execve to avoid compiler warnings Diffstat:
M | config.h | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/config.h b/config.h @@ -15,3 +15,8 @@ const char ac[64] = { const char cmd[64] = { "/bin/ZZZ" }; + +char *const arg[] = { + (char *) 0 +}; +