diff options
author | jca <jca@openbsd.org> | 2015-10-25 22:38:48 +0000 |
---|---|---|
committer | jca <jca@openbsd.org> | 2015-10-25 22:38:48 +0000 |
commit | 43add1186a3d405534e62001b390cf117d6496cf (patch) | |
tree | cb271eab09738b3cae0b87701458fba29e47e335 /usr.sbin/route6d | |
parent | In case of error, also log the file name we failed to open. (diff) | |
download | wireguard-openbsd-43add1186a3d405534e62001b390cf117d6496cf.tar.xz wireguard-openbsd-43add1186a3d405534e62001b390cf117d6496cf.zip |
Another pidfile(3) removal; ok benno@
Diffstat (limited to 'usr.sbin/route6d')
-rw-r--r-- | usr.sbin/route6d/Makefile | 4 | ||||
-rw-r--r-- | usr.sbin/route6d/route6d.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/route6d/Makefile b/usr.sbin/route6d/Makefile index 34dc945ebc2..2706c0eccdf 100644 --- a/usr.sbin/route6d/Makefile +++ b/usr.sbin/route6d/Makefile @@ -1,8 +1,6 @@ -# $OpenBSD: Makefile,v 1.7 2006/12/19 15:06:10 itojun Exp $ +# $OpenBSD: Makefile,v 1.8 2015/10/25 22:38:48 jca Exp $ PROG= route6d MAN= route6d.8 -LDADD+= -lutil -DPADD+= ${LIBUTIL} .include <bsd.prog.mk> diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c index 4085e8ac338..e78cb6652b1 100644 --- a/usr.sbin/route6d/route6d.c +++ b/usr.sbin/route6d/route6d.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route6d.c,v 1.70 2015/10/18 14:35:36 jca Exp $ */ +/* $OpenBSD: route6d.c,v 1.71 2015/10/25 22:38:48 jca Exp $ */ /* $KAME: route6d.c,v 1.111 2006/10/25 06:38:13 jinmei Exp $ */ /* @@ -372,8 +372,6 @@ main(int argc, char *argv[]) if (dflag) ifrtdump(0); - pidfile(NULL); - if ((ripbuf = malloc(RIP6_MAXMTU)) == NULL) { fatal("malloc"); /*NOTREACHED*/ |