From 6c85ea50de2fbdf2c923b0739171661ecdd63832 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 24 Sep 2021 17:18:30 +0200 Subject: [PATCH] make: fix compilation for some compiler Reported-by: adamboardman of gemian --- tools/toollib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/toollib.c b/tools/toollib.c index 606d35981..7e35f6f22 100644 --- a/tools/toollib.c +++ b/tools/toollib.c @@ -49,7 +49,7 @@ int become_daemon(struct cmd_context *cmd, int skip_lvm) int null_fd; pid_t pid; struct sigaction act = { - {_sigchld_handler}, + .sa_handler = _sigchld_handler, .sa_flags = SA_NOCLDSTOP, };