diff options
author | ae <ae@FreeBSD.org> | 2011-07-12 10:07:07 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2011-07-12 10:07:07 +0000 |
commit | 2131d5b8a4fd027320d07974942b603d4c6f607e (patch) | |
tree | f06af5bc58d8c89b630eb802744e6c59367d6d89 | |
parent | 35f380437f3aa1c78e2f694db55ac1e6d0eeb758 (diff) | |
download | FreeBSD-src-2131d5b8a4fd027320d07974942b603d4c6f607e.zip FreeBSD-src-2131d5b8a4fd027320d07974942b603d4c6f607e.tar.gz |
Use NULL instead of 0 for third argument of sigaction(2).
Pointed by: kib
MFC after: 2 weeks
-rw-r--r-- | sbin/newfs_msdos/newfs_msdos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/newfs_msdos/newfs_msdos.c b/sbin/newfs_msdos/newfs_msdos.c index a4deb23..6d8fa7e 100644 --- a/sbin/newfs_msdos/newfs_msdos.c +++ b/sbin/newfs_msdos/newfs_msdos.c @@ -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) { |