summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-07-10 21:14:41 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-07-10 21:14:41 +0000
commit9cc3326cf95795347c85a5bc6d7261d7a08b6fa5 (patch)
tree4e2aeff82babbe331be174f2381118b9836d3841 /usr.sbin/rtadvd
parentbea15f9ce66ce449773875180b92d69cfc685f74 (diff)
sync w/kame (style)
Diffstat (limited to 'usr.sbin/rtadvd')
-rw-r--r--usr.sbin/rtadvd/config.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/rtadvd/config.c b/usr.sbin/rtadvd/config.c
index e70d20f29a8..fd3e0ab291e 100644
--- a/usr.sbin/rtadvd/config.c
+++ b/usr.sbin/rtadvd/config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.c,v 1.20 2002/07/10 18:08:11 todd Exp $ */
+/* $OpenBSD: config.c,v 1.21 2002/07/10 21:14:40 itojun Exp $ */
/* $KAME: config.c,v 1.62 2002/05/29 10:13:10 itojun Exp $ */
/*
@@ -110,11 +110,10 @@ getconfig(intface)
tmp = (struct rainfo *)malloc(sizeof(*ralist));
if (tmp == NULL) {
- syslog(LOG_ERR, "<%s>(%s) can't allocate enough memory",
-__func__, intface);
+ syslog(LOG_INFO, "<%s> %s: can't allocate enough memory",
+ __func__, intface);
exit(1);
}
-
memset(tmp, 0, sizeof(*tmp));
tmp->prefix.next = tmp->prefix.prev = &tmp->prefix;