diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ldpd/ldpd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/ldpd/ldpd.c b/usr.sbin/ldpd/ldpd.c index faf128bdae0..15cdf4994c3 100644 --- a/usr.sbin/ldpd/ldpd.c +++ b/usr.sbin/ldpd/ldpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldpd.c,v 1.52 2016/06/13 20:15:58 renato Exp $ */ +/* $OpenBSD: ldpd.c,v 1.53 2016/06/18 01:30:28 renato Exp $ */ /* * Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org> @@ -496,21 +496,21 @@ main_dispatch_lde(int fd, short event, void *bula) sizeof(struct kroute)) fatalx("invalid size of IMSG_KLABEL_CHANGE"); if (kr_change(imsg.data)) - log_warn("%s: error changing route", __func__); + log_warnx("%s: error changing route", __func__); break; case IMSG_KLABEL_DELETE: if (imsg.hdr.len - IMSG_HEADER_SIZE != sizeof(struct kroute)) fatalx("invalid size of IMSG_KLABEL_DELETE"); if (kr_delete(imsg.data)) - log_warn("%s: error deleting route", __func__); + log_warnx("%s: error deleting route", __func__); break; case IMSG_KPWLABEL_CHANGE: if (imsg.hdr.len - IMSG_HEADER_SIZE != sizeof(struct kpw)) fatalx("invalid size of IMSG_KPWLABEL_CHANGE"); if (kmpw_set(imsg.data)) - log_warn("%s: error changing pseudowire", + log_warnx("%s: error changing pseudowire", __func__); break; case IMSG_KPWLABEL_DELETE: @@ -518,7 +518,7 @@ main_dispatch_lde(int fd, short event, void *bula) sizeof(struct kpw)) fatalx("invalid size of IMSG_KPWLABEL_DELETE"); if (kmpw_unset(imsg.data)) - log_warn("%s: error unsetting pseudowire", + log_warnx("%s: error unsetting pseudowire", __func__); break; default: |