summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs
diff options
context:
space:
mode:
authorlulf <lulf@FreeBSD.org>2009-05-29 20:01:50 +0000
committerlulf <lulf@FreeBSD.org>2009-05-29 20:01:50 +0000
commit689dc365ddfa7658c045506c0fe78a40dff54ef3 (patch)
tree497a2a8dba6834db430fd267923ce57e90e395bf /sbin/fsck_ffs
parent7f5b0418dfb3abfeeb9e27d316efe25d5989941d (diff)
downloadFreeBSD-src-689dc365ddfa7658c045506c0fe78a40dff54ef3.zip
FreeBSD-src-689dc365ddfa7658c045506c0fe78a40dff54ef3.tar.gz
- Use sig_atomic_t for signal handler variables.
MFC after: 1 week
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r--sbin/fsck_ffs/fsck.h4
1 files changed, 2 insertions, 2 deletions
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) { \
OpenPOWER on IntegriCloud