summaryrefslogtreecommitdiff
path: root/sbin/slaacd/slaacd.c
diff options
context:
space:
mode:
authorRicardo Mestre <mestre@cvs.openbsd.org>2018-08-05 09:37:53 +0000
committerRicardo Mestre <mestre@cvs.openbsd.org>2018-08-05 09:37:53 +0000
commit38afd8838349992c76628b71a96ed3e8e012b7fb (patch)
treea4e7546f8e21157876a620c2672574eeafc01023 /sbin/slaacd/slaacd.c
parent5024b9ff3d55a842fa4aef4ff9a3d3509f5f0556 (diff)
Since -s argument is no longer checked, during reexec, the argv size then must
be shortened by 1. OK florian@
Diffstat (limited to 'sbin/slaacd/slaacd.c')
-rw-r--r--sbin/slaacd/slaacd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/slaacd/slaacd.c b/sbin/slaacd/slaacd.c
index 244ac4350d9..c2d016d4c7a 100644
--- a/sbin/slaacd/slaacd.c
+++ b/sbin/slaacd/slaacd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: slaacd.c,v 1.29 2018/08/04 09:36:49 florian Exp $ */
+/* $OpenBSD: slaacd.c,v 1.30 2018/08/05 09:37:52 mestre Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
@@ -333,7 +333,7 @@ main_shutdown(void)
static pid_t
start_child(int p, char *argv0, int fd, int debug, int verbose)
{
- char *argv[8];
+ char *argv[7];
int argc = 0;
pid_t pid;