]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
genl: ctrl.c: spelling fix in error message
authorAndrea Claudi <aclaudi@redhat.com>
Tue, 9 Jan 2024 15:33:54 +0000 (16:33 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 11 Jan 2024 17:23:27 +0000 (09:23 -0800)
Canot --> Cannot

Fixes: 65018ae43b14 ("This patch adds a generic netlink controller...")
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
genl/ctrl.c

index d5b765cca11b681dffce7834a412ce9ff700d696..aff922a436bf5907c31b471f749d310b3e68cc8c 100644 (file)
@@ -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;
        }