Skip to content

Commit

Permalink
tools/lxc_copy: do not hide global variable
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Nov 22, 2018
1 parent 97f3df6 commit f891685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lxc/tools/lxc_copy.c
Expand Up @@ -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
Expand Down Expand Up @@ -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':
Expand Down

0 comments on commit f891685

Please sign in to comment.