]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
genl: make string const
authorStephen Hemminger <shemming@brocade.com>
Thu, 31 Dec 2015 01:17:45 +0000 (17:17 -0800)
committerStephen Hemminger <shemming@brocade.com>
Thu, 31 Dec 2015 01:17:45 +0000 (17:17 -0800)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
genl/genl.c

index 49b65960d9377b4ba875a452e609ea1a2c3ef567..e33fafdf2f52484b95fa465a920dcaca97289134 100644 (file)
@@ -54,7 +54,7 @@ static int parse_nofopt(struct genl_util *f, int argc, char **argv)
        return 0;
 }
 
-static struct genl_util *get_genl_kind(char *str)
+static struct genl_util *get_genl_kind(const char *str)
 {
        void *dlh;
        char buf[256];