[PATCH iwinfo 1/4] iwinfo: fix wrong error message

Andre Heider a.heider at gmail.com
Sun Nov 13 07:11:17 PST 2022


In this case the specified backend couldn't be found.

Signed-off-by: Andre Heider <a.heider at gmail.com>
---
 iwinfo_cli.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iwinfo_cli.c b/iwinfo_cli.c
index dca86cf..d8851d7 100644
--- a/iwinfo_cli.c
+++ b/iwinfo_cli.c
@@ -972,7 +972,7 @@ int main(int argc, char **argv)
 
 		if (!iw)
 		{
-			fprintf(stderr, "No such wireless device: %s\n", argv[1]);
+			fprintf(stderr, "No such wireless backend: %s\n", argv[1]);
 			rv = 1;
 		}
 		else
-- 
2.35.1




More information about the openwrt-devel mailing list