From 689dc365ddfa7658c045506c0fe78a40dff54ef3 Mon Sep 17 00:00:00 2001 From: lulf Date: Fri, 29 May 2009 20:01:50 +0000 Subject: - Use sig_atomic_t for signal handler variables. MFC after: 1 week --- sbin/fsck_ffs/fsck.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/fsck_ffs/fsck.h') diff --git a/sbin/fsck_ffs/fsck.h b/sbin/fsck_ffs/fsck.h index 887b94e..cd16462 100644 --- a/sbin/fsck_ffs/fsck.h +++ b/sbin/fsck_ffs/fsck.h @@ -297,8 +297,8 @@ int lfmode; /* lost & found directory creation mode */ ufs2_daddr_t n_blks; /* number of blocks in use */ ino_t n_files; /* number of files in use */ -int got_siginfo; /* received a SIGINFO */ -int got_sigalarm; /* received a SIGALRM */ +sig_atomic_t got_siginfo; /* received a SIGINFO */ +sig_atomic_t got_sigalarm; /* received a SIGALRM */ #define clearinode(dp) \ if (sblock.fs_magic == FS_UFS1_MAGIC) { \ -- cgit v1.1