diff options
author | kn <kn@openbsd.org> | 2021-03-19 08:10:57 +0000 |
---|---|---|
committer | kn <kn@openbsd.org> | 2021-03-19 08:10:57 +0000 |
commit | 186cf4de2d2ae2d3c240a9c950685f0cb40093ed (patch) | |
tree | 32458e7c76533e8f41c822103f97e42b205d936e /sbin | |
parent | RTM_IFINFO is providing the mac address now, no need to go through (diff) | |
download | wireguard-openbsd-186cf4de2d2ae2d3c240a9c950685f0cb40093ed.tar.xz wireguard-openbsd-186cf4de2d2ae2d3c240a9c950685f0cb40093ed.zip |
Fix function name in warning
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/resolvd/resolvd.c | 4 |
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; } |