summaryrefslogtreecommitdiff
path: root/sbin/resolvd
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2021-03-19 08:10:58 +0000
committerkn <kn@cvs.openbsd.org>2021-03-19 08:10:58 +0000
commitdd9d2231bb209c50c47caa0f62066d9daf97de39 (patch)
treed62528f1483fb817928bac0aa586053bc751149f /sbin/resolvd
parent022da71d5c96643135ba4b0e52cfd569e164f3da (diff)
Fix function name in warning
Diffstat (limited to 'sbin/resolvd')
-rw-r--r--sbin/resolvd/resolvd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/resolvd/resolvd.c b/sbin/resolvd/resolvd.c
index 6fe56455bd9..6ff37dc132e 100644
--- a/sbin/resolvd/resolvd.c
+++ b/sbin/resolvd/resolvd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: resolvd.c,v 1.10 2021/03/03 09:32:11 kn Exp $ */
+/* $OpenBSD: resolvd.c,v 1.11 2021/03/19 08:10:57 kn Exp $ */
/*
* Copyright (c) 2021 Florian Obser <florian@openbsd.org>
* Copyright (c) 2021 Theo de Raadt <deraadt@openbsd.org>
@@ -354,7 +354,7 @@ route_receive(int fd)
if ((n = read(fd, rsock_buf, sizeof(rsock_buf))) == -1) {
if (errno == EAGAIN || errno == EINTR)
return;
- lwarn("dispatch_rtmsg: read error");
+ lwarn("%s: read error", __func__);
return;
}