diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-06-09 00:56:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-06-09 00:56:10 +0000 |
commit | c939f0a6d7552d90d1cb05f8f1670f8f1d9d7219 (patch) | |
tree | 063c3fc3e3a66ee14ccce28e7bcb10f47356691a /usr.sbin/rtadvd | |
parent | 0d404e65672135f0ba502bd2ef3696a0fd168e81 (diff) |
do not use \n in syslog()
Diffstat (limited to 'usr.sbin/rtadvd')
-rw-r--r-- | usr.sbin/rtadvd/if.c | 8 | ||||
-rw-r--r-- | usr.sbin/rtadvd/rtadvd.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/rtadvd/if.c b/usr.sbin/rtadvd/if.c index 3edd634e21b..540d7a5d592 100644 --- a/usr.sbin/rtadvd/if.c +++ b/usr.sbin/rtadvd/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.12 2002/05/21 23:29:46 itojun Exp $ */ +/* $OpenBSD: if.c,v 1.13 2002/06/09 00:56:09 deraadt Exp $ */ /* $KAME: if.c,v 1.17 2001/01/21 15:27:30 itojun Exp $ */ /* @@ -536,9 +536,9 @@ parse_iflist(struct if_msghdr ***ifmlist_p, char *buf, size_t bufsize) if (ifm->ifm_type == RTM_IFINFO) { (*ifmlist_p)[ifm->ifm_index] = ifm; } else { - syslog(LOG_ERR, "out of sync parsing NET_RT_IFLIST\n" - "expected %d, got %d\n msglen = %d\n" - "buf:%p, ifm:%p, lim:%p\n", + syslog(LOG_ERR, "out of sync parsing NET_RT_IFLIST," + "expected %d, got %d, msglen = %d," + "buf:%p, ifm:%p, lim:%p", RTM_IFINFO, ifm->ifm_type, ifm->ifm_msglen, buf, ifm, lim); exit (1); diff --git a/usr.sbin/rtadvd/rtadvd.c b/usr.sbin/rtadvd/rtadvd.c index edf87627429..4101cb00d98 100644 --- a/usr.sbin/rtadvd/rtadvd.c +++ b/usr.sbin/rtadvd/rtadvd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtadvd.c,v 1.20 2002/06/07 00:42:14 itojun Exp $ */ +/* $OpenBSD: rtadvd.c,v 1.21 2002/06/09 00:56:09 deraadt Exp $ */ /* $KAME: rtadvd.c,v 1.66 2002/05/29 14:18:36 itojun Exp $ */ /* @@ -322,7 +322,7 @@ die() const int retrans = MAX_FINAL_RTR_ADVERTISEMENTS; if (dflag > 1) { - syslog(LOG_DEBUG, "<%s> cease to be an advertising router\n", + syslog(LOG_DEBUG, "<%s> cease to be an advertising router", __FUNCTION__); } |