From 186cf4de2d2ae2d3c240a9c950685f0cb40093ed Mon Sep 17 00:00:00 2001 From: kn Date: Fri, 19 Mar 2021 08:10:57 +0000 Subject: [PATCH] Fix function name in warning --- sbin/resolvd/resolvd.c | 4 ++-- 1 file 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 * Copyright (c) 2021 Theo de Raadt @@ -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; } -- 2.20.1