Skip to contentSkip to conversation

Fix typos in two error messages

PATCH Applied Andrea Claudi 3 participants 6 messages Jan 9, 2024 – Jan 11, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover Fix typos in two error messages

Fix spelling for "cannot" in two different places.

Andrea Claudi (2):
iplink_xstats: spelling fix in error message
genl: ctrl.c: spelling fix in error message

 genl/ctrl.c        | 2 +-
 ip/iplink_xstats.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/2 iplink_xstats: spelling fix in error message

Cannont --> Cannot

Fixes 2b99748a60bf ("add missing iplink_xstats.c")
---
 ip/iplink_xstats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ip/iplink_xstats.c +1 -1
index 6c184c02..8d367984 100644
@@ -63,7 +63,7 @@ int iplink_ifla_xstats(int argc, char **argv)
 
 	if (rtnl_statsdump_req_filter(&rth, AF_UNSPEC, filt_mask,
 				      NULL, NULL) < 0) {
-		perror("Cannont send dump request");
+		perror("Cannot send dump request");
 		return -1;
 	}
 
Signature · 1 line
2.43.0
#3 lore raw

PATCH 2/2 genl: ctrl.c: spelling fix in error message

In reply to Andrea Claudi

Canot --> Cannot

Fixes 65018ae43b14 ("This patch adds a generic netlink controller...")
---
 genl/ctrl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
genl/ctrl.c +1 -1
index d5b765cc..aff922a4 100644
@@ -329,7 +329,7 @@ static int ctrl_listen(int argc, char **argv)
 	struct rtnl_handle rth;
 
 	if (rtnl_open_byproto(&rth, nl_mgrp(GENL_ID_CTRL), NETLINK_GENERIC) < 0) {
-		fprintf(stderr, "Canot open generic netlink socket\n");
+		fprintf(stderr, "Cannot open generic netlink socket\n");
 		return -1;
 	}
 
Signature · 1 line
2.43.0
#5 lore raw
In reply to Andrea Claudi
This series was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Hello:

This series was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Quoted 9 lines · On Tue, 9 Jan 2024 16:33:52 +0100 you wrote:

Fix spelling for "cannot" in two different places.

Andrea Claudi (2):
iplink_xstats: spelling fix in error message
genl: ctrl.c: spelling fix in error message

 genl/ctrl.c        | 2 +-
 ip/iplink_xstats.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Here is the summary with links:
- [iproute2,1/2] iplink_xstats: spelling fix in error message
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=ba0d6e6d7dac
- [iproute2,2/2] genl: ctrl.c: spelling fix in error message

    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=05a4fc72587f

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html