git: 0ad9b235e1ea - main - arp(8): fix a typo in error message for -s/-S
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 May 2024 15:03:20 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=0ad9b235e1eaef36e07247c8c7635a8eac98f4b1 commit 0ad9b235e1eaef36e07247c8c7635a8eac98f4b1 Author: Lexi Winter <lexi@le-Fay.ORG> AuthorDate: 2024-05-04 15:02:39 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2024-05-04 15:02:42 +0000 arp(8): fix a typo in error message for -s/-S Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1214 --- usr.sbin/arp/arp_netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/arp/arp_netlink.c b/usr.sbin/arp/arp_netlink.c index 8644f3722aed..24e01126044b 100644 --- a/usr.sbin/arp/arp_netlink.c +++ b/usr.sbin/arp/arp_netlink.c @@ -385,7 +385,7 @@ set_nl(uint32_t ifindex, struct sockaddr_in *dst, struct sockaddr_dl *sdl, char ifindex = fix_ifindex(&ss, ifindex, dst->sin_addr); if (ifindex == 0) { - xo_warnx("delete: cannot locate %s", host); + xo_warnx("set: cannot locate %s", host); snl_free(&ss); return (0); }