diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2017-07-12 06:11:46 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2017-07-12 06:11:46 +0000 |
commit | ec96b9a29bfe4ade999dfd5962fc51c949e9e686 (patch) | |
tree | 9f1eaac524e7e5e8f47bca9f967ce6a7b956d6c9 /usr.sbin/rtadvd | |
parent | 098f3342ce626d0a21a3c1c7175cbd5be29afa40 (diff) |
errno is not set, use log_warnx
OK benno
Diffstat (limited to 'usr.sbin/rtadvd')
-rw-r--r-- | usr.sbin/rtadvd/if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rtadvd/if.c b/usr.sbin/rtadvd/if.c index 700a70729b2..43ad552e238 100644 --- a/usr.sbin/rtadvd/if.c +++ b/usr.sbin/rtadvd/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.43 2017/07/12 06:11:07 florian Exp $ */ +/* $OpenBSD: if.c,v 1.44 2017/07/12 06:11:45 florian Exp $ */ /* $KAME: if.c,v 1.17 2001/01/21 15:27:30 itojun Exp $ */ /* @@ -435,7 +435,7 @@ parse_iflist(struct if_msghdr ***ifmlist_p, char *buf, size_t bufsize) lim = buf + bufsize; for (ifm = (struct if_msghdr *)buf; ifm < (struct if_msghdr *)lim;) { if (ifm->ifm_msglen == 0) { - log_warn("ifm_msglen is 0 (buf=%p lim=%p ifm=%p)", + log_warnx("ifm_msglen is 0 (buf=%p lim=%p ifm=%p)", buf, lim, ifm); return; } |