summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-02-23 17:37:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-02-23 17:37:29 +0000
commit51460ed18dc12dff047d504560f6336aef4cfc24 (patch)
treea00bbf59987b3cadae55d738669dbbf1f46f4229
parentc442cdedfd18b1e4de0284349c3cccb6265f5d30 (diff)
signal handler flag must be volatile sig_atomic_t
-rw-r--r--usr.bin/usbhidaction/usbhidaction.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/usbhidaction/usbhidaction.c b/usr.bin/usbhidaction/usbhidaction.c
index 544f769914b..1d455516772 100644
--- a/usr.bin/usbhidaction/usbhidaction.c
+++ b/usr.bin/usbhidaction/usbhidaction.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbhidaction.c,v 1.8 2006/07/09 23:02:21 mk Exp $ */
+/* $OpenBSD: usbhidaction.c,v 1.9 2007/02/23 17:37:28 deraadt Exp $ */
/* $NetBSD: usbhidaction.c,v 1.7 2002/01/18 14:38:59 augustss Exp $ */
/*
@@ -56,7 +56,8 @@
int verbose = 0;
int isdemon = 0;
-int reparse = 0;
+
+volatile sig_atomic_t reparse = 0;
struct command {
struct command *next;