git: 08471a76e3d2 - main - ifconfig: 802.11: fix a warning message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 May 2025 10:43:49 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=08471a76e3d27ffa9e2605dab0ff3c4968e7fef6
commit 08471a76e3d27ffa9e2605dab0ff3c4968e7fef6
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-05-27 19:34:48 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-05-28 10:42:58 +0000
ifconfig: 802.11: fix a warning message
s/can/cannot/
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D50552
---
sbin/ifconfig/ifieee80211.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c
index 80633e5e9ffc..1a9f0450a253 100644
--- a/sbin/ifconfig/ifieee80211.c
+++ b/sbin/ifconfig/ifieee80211.c
@@ -5092,7 +5092,7 @@ ieee80211_status(if_ctx *ctx)
memset(&ik, 0, sizeof(ik));
ik.ik_keyix = i;
if (get80211(ctx, IEEE80211_IOC_WPAKEY, &ik, sizeof(ik)) < 0) {
- warn("WEP support, but can get keys!");
+ warn("WEP support, but cannot get keys!");
goto end;
}
if (ik.ik_keylen != 0) {