summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd/main.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-05-08 22:30:55 +0000
committerderaadt <deraadt@openbsd.org>2002-05-08 22:30:55 +0000
commit44df5c611eafab76b502b83e2859e0f207b1e6da (patch)
tree1ba2b151941d6526213597b8e4e02df3bd7fa559 /usr.sbin/pppd/main.c
parentDon't deref null pointer in failure case. (diff)
downloadwireguard-openbsd-44df5c611eafab76b502b83e2859e0f207b1e6da.tar.xz
wireguard-openbsd-44df5c611eafab76b502b83e2859e0f207b1e6da.zip
be even more clear
Diffstat (limited to 'usr.sbin/pppd/main.c')
-rw-r--r--usr.sbin/pppd/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pppd/main.c b/usr.sbin/pppd/main.c
index 32afc8dfb19..c521b8830ba 100644
--- a/usr.sbin/pppd/main.c
+++ b/usr.sbin/pppd/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.35 2002/05/06 19:35:26 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.36 2002/05/08 22:30:55 deraadt Exp $ */
/*
* main.c - Point-to-Point Protocol main module
@@ -23,7 +23,7 @@
#if 0
static char rcsid[] = "Id: main.c,v 1.49 1998/05/05 05:24:17 paulus Exp $";
#else
-static char rcsid[] = "$OpenBSD: main.c,v 1.35 2002/05/06 19:35:26 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.36 2002/05/08 22:30:55 deraadt Exp $";
#endif
#endif
@@ -331,7 +331,7 @@ main(argc, argv)
SIGNAL(SIGILL, bad_signal);
SIGNAL(SIGPIPE, bad_signal);
SIGNAL(SIGQUIT, bad_signal);
-#if 0
+#if SIGSEGV_CHECK
SIGNAL(SIGSEGV, bad_signal);
#endif
#ifdef SIGBUS