tools/lxc_copy: do not hide global variable

parent 632ac690
......@@ -87,7 +87,7 @@ static const struct option my_longopts[] = {
};
/* mount keys */
static char *const keys[] = {
static char *const mount_keys[] = {
[LXC_MNT_BIND] = "bind",
[LXC_MNT_OVL] = "overlay",
NULL
......@@ -568,7 +568,7 @@ static int my_parser(struct lxc_arguments *args, int c, char *arg)
break;
case 'm':
subopts = optarg;
if (parse_mntsubopts(subopts, keys, mntparameters) < 0)
if (parse_mntsubopts(subopts, mount_keys, mntparameters) < 0)
return -1;
break;
case 'B':
......
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