diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-22 12:59:46 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-22 12:59:46 +0000 |
commit | 9bb0cb1a2624f76f0ce09134fc42dc6b08cc6a3d (patch) | |
tree | 77e6ed3c8b4a9e5fc33fb349d96848347877b228 | |
parent | 1a34a5679aba5322ab614bc56b862b7b1d55cacb (diff) |
reload is used in signal handler, make it volatile sig_atomic_t
-rw-r--r-- | usr.sbin/sensorsd/sensorsd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sensorsd/sensorsd.c b/usr.sbin/sensorsd/sensorsd.c index 21cc9c50bcc..5e9e4f42c7d 100644 --- a/usr.sbin/sensorsd/sensorsd.c +++ b/usr.sbin/sensorsd/sensorsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sensorsd.c,v 1.5 2003/10/01 02:43:17 kevlo Exp $ */ +/* $OpenBSD: sensorsd.c,v 1.6 2003/12/22 12:59:45 henning Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -62,8 +62,8 @@ struct limits_t { TAILQ_HEAD(limits, limits_t) limits = TAILQ_HEAD_INITIALIZER(limits); -char *configfile; -int reload = 0; +char *configfile; +volatile sig_atomic_t reload = 0; int main(int argc, char *argv[]) |