genl: make string const
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
3fbe7ca847
commit
b27f005b27
|
|
@ -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];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue