commit | b27f005b274fb0332dc7e88e2bc1344e11fba143 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemming@brocade.com> | Wed Dec 30 17:17:45 2015 -0800 |
committer | Stephen Hemminger <shemming@brocade.com> | Wed Dec 30 17:17:45 2015 -0800 |
tree | bc25d7daf65aee02b3db16d69776446179de2b2e | |
parent | 3fbe7ca847367d0f9c3861283767ae702c2a19ab [diff] [blame] |
genl: make string const Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
diff --git a/genl/genl.c b/genl/genl.c index 49b6596..e33fafd 100644 --- a/genl/genl.c +++ b/genl/genl.c
@@ -54,7 +54,7 @@ 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];