summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-17 20:01:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-17 20:01:54 +0000
commitfdb97e5d9d0b42fd4638676f2958370e3824805b (patch)
treea39ed3cda40d9f2f73272fcf172b22108bbbba70 /sbin
parent445a3618a41a56115118fac22bac3bc71f45f621 (diff)
volatile sig_atomic_t
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mount_portal/mount_portal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/mount_portal/mount_portal.c b/sbin/mount_portal/mount_portal.c
index d3ea7a53dfa..a50d0812286 100644
--- a/sbin/mount_portal/mount_portal.c
+++ b/sbin/mount_portal/mount_portal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_portal.c,v 1.15 2001/11/05 09:58:13 deraadt Exp $ */
+/* $OpenBSD: mount_portal.c,v 1.16 2001/11/17 20:01:53 deraadt Exp $ */
/* $NetBSD: mount_portal.c,v 1.8 1996/04/13 01:31:54 jtc Exp $ */
/*
@@ -47,7 +47,7 @@ char copyright[] =
#if 0
static char sccsid[] = "@(#)mount_portal.c 8.6 (Berkeley) 4/26/95";
#else
-static char rcsid[] = "$OpenBSD: mount_portal.c,v 1.15 2001/11/05 09:58:13 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: mount_portal.c,v 1.16 2001/11/17 20:01:53 deraadt Exp $";
#endif
#endif /* not lint */
@@ -81,7 +81,7 @@ static char *mountpt; /* made available to signal handler */
static void usage __P((void));
-static sig_atomic_t readcf; /* Set when SIGHUP received */
+static volatile sig_atomic_t readcf; /* Set when SIGHUP received */
static void
sigchld(sig)