From: Stephen Hemminger Date: Thu, 31 Dec 2015 01:17:45 +0000 (-0800) Subject: genl: make string const X-Git-Tag: v4.5.0~93^2~9^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b27f005b274fb0332dc7e88e2bc1344e11fba143;p=thirdparty%2Fiproute2.git genl: make string const Signed-off-by: Stephen Hemminger --- 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];