diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2015-10-25 22:38:49 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2015-10-25 22:38:49 +0000 |
commit | 7178ffbb3f2a8564f6385657f1e78405b52e20e2 (patch) | |
tree | d571c61c6c80ee3fe76557ef571f4ae05a2b946e /usr.sbin | |
parent | 9fbda4a6e5c43f5fc7ca86527851405d8a212356 (diff) |
Another pidfile(3) removal; ok benno@
Diffstat (limited to 'usr.sbin')
-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*/ |