summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/serverloop.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-11-22 12:34:22 +0000
committermarkus <markus@openbsd.org>2001-11-22 12:34:22 +0000
commit00330d402be8a9ef7ec477f829b9903fc6ed13cc (patch)
tree995e566fbd449d36c4c68ae6e5cfd726507df35a /usr.bin/ssh/serverloop.c
parentNit. (diff)
downloadwireguard-openbsd-00330d402be8a9ef7ec477f829b9903fc6ed13cc.tar.xz
wireguard-openbsd-00330d402be8a9ef7ec477f829b9903fc6ed13cc.zip
volatile sig_atomic_t
Diffstat (limited to 'usr.bin/ssh/serverloop.c')
-rw-r--r--usr.bin/ssh/serverloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/serverloop.c b/usr.bin/ssh/serverloop.c
index 39f19e1ddcd..70097d73bb9 100644
--- a/usr.bin/ssh/serverloop.c
+++ b/usr.bin/ssh/serverloop.c
@@ -35,7 +35,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: serverloop.c,v 1.83 2001/11/09 18:59:23 markus Exp $");
+RCSID("$OpenBSD: serverloop.c,v 1.84 2001/11/22 12:34:22 markus Exp $");
#include "xmalloc.h"
#include "packet.h"
@@ -87,7 +87,7 @@ static int client_alive_timeouts = 0;
* will exit after that, as soon as forwarded connections have terminated.
*/
-static volatile int child_terminated; /* The child has terminated. */
+static volatile sig_atomic_t child_terminated = 0; /* The child has terminated. */
/* prototypes */
static void server_init_dispatch(void);