Commit b27f005b authored by Stephen Hemminger's avatar Stephen Hemminger

genl: make string const

Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
parent 3fbe7ca8
...@@ -54,7 +54,7 @@ static int parse_nofopt(struct genl_util *f, int argc, char **argv) ...@@ -54,7 +54,7 @@ static int parse_nofopt(struct genl_util *f, int argc, char **argv)
return 0; return 0;
} }
static struct genl_util *get_genl_kind(char *str) static struct genl_util *get_genl_kind(const char *str)
{ {
void *dlh; void *dlh;
char buf[256]; char buf[256];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment