diff options
Diffstat (limited to 'source3/lib/signal.c')
-rw-r--r-- | source3/lib/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/signal.c b/source3/lib/signal.c index db72b458a7..bb1c6fe189 100644 --- a/source3/lib/signal.c +++ b/source3/lib/signal.c @@ -76,7 +76,7 @@ void CatchSignal(int signum,void (*handler)(int )) #ifdef HAVE_SIGACTION struct sigaction act; - memset(&act, 0, sizeof(act)); + ZERO_STRUCT(act); act.sa_handler = handler; #ifdef SA_RESTART |