From 9bb0cb1a2624f76f0ce09134fc42dc6b08cc6a3d Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Mon, 22 Dec 2003 12:59:46 +0000 Subject: reload is used in signal handler, make it volatile sig_atomic_t --- usr.sbin/sensorsd/sensorsd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin') 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 @@ -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[]) -- cgit v1.2.3