aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zed
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-12-11 01:07:57 +0100
committerBrian Behlendorf <[email protected]>2021-12-21 12:05:11 -0800
commite2a59aa7010717f46f0a5c6b98bd6f3a92923733 (patch)
tree514b45456a22e174cb57ce153a1358f3290813f0 /cmd/zed
parent008f30c730f96de378068a4dc0ccfe81795ce622 (diff)
zed: exec: fix unused, remove argsused
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12835
Diffstat (limited to 'cmd/zed')
-rw-r--r--cmd/zed/zed_exec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/zed/zed_exec.c b/cmd/zed/zed_exec.c
index 03dcd03ac..369c4b695 100644
--- a/cmd/zed/zed_exec.c
+++ b/cmd/zed/zed_exec.c
@@ -187,11 +187,14 @@ _zed_exec_fork_child(uint64_t eid, const char *dir, const char *prog,
static void
_nop(int sig)
-{}
+{
+ (void) sig;
+}
static void *
_reap_children(void *arg)
{
+ (void) arg;
struct launched_process_node node, *pnode;
pid_t pid;
int status;