From b27f005b274fb0332dc7e88e2bc1344e11fba143 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 30 Dec 2015 17:17:45 -0800 Subject: [PATCH] genl: make string const Signed-off-by: Stephen Hemminger --- genl/genl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genl/genl.c b/genl/genl.c index 49b65960d..e33fafdf2 100644 --- a/genl/genl.c +++ b/genl/genl.c @@ -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]; -- 2.47.2