diff options
author | 2019-02-09 05:18:09 +0530 | |
---|---|---|
committer | 2019-02-09 05:18:09 +0530 | |
commit | 83615dc72b38b857749081192cff02e0e12321ef (patch) | |
tree | fb4c6881da95a34ae4ef99e2cb20156752949b7a | |
parent | 1253e462b83c1fa5ba928907d68159af4e9f8170 (diff) | |
download | nnn-83615dc72b38b857749081192cff02e0e12321ef.tar.gz |
Fix build break
-rw-r--r-- | src/nnn.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4222,7 +4222,8 @@ int main(int argc, char *argv[]) cfg.restrict0b = 1; /* Ignore/handle certain signals */ - struct sigaction act = {0}; + struct sigaction act; + memset(&act, 0, sizeof(act)); act.sa_sigaction = &sigint_handler; act.sa_flags = SA_SIGINFO; if (sigaction(SIGINT, &act, NULL) < 0) { |