mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use NULL instead of 0 for third argument of sigaction(2).
Pointed by: kib MFC after: 2 weeks
This commit is contained in:
parent
40be4bee6f
commit
20ddb07906
1 changed files with 1 additions and 1 deletions
|
|
@ -611,7 +611,7 @@ main(int argc, char *argv[])
|
|||
dir = bpb.bpbResSectors + (bpb.bpbFATsecs ? bpb.bpbFATsecs : bpb.bpbBigFATsecs) * bpb.bpbFATs;
|
||||
memset(&si_sa, 0, sizeof(si_sa));
|
||||
si_sa.sa_handler = infohandler;
|
||||
if (sigaction(SIGINFO, &si_sa, 0) == -1)
|
||||
if (sigaction(SIGINFO, &si_sa, NULL) == -1)
|
||||
err(1, "sigaction SIGINFO");
|
||||
for (lsn = 0; lsn < dir + (fat == 32 ? bpb.bpbSecPerClust : rds); lsn++) {
|
||||
if (got_siginfo) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue