Skip to content

Commit

Permalink
Merge pull request #2416 from 2xsec/bugfix
Browse files Browse the repository at this point in the history
conf: remove unused argument
  • Loading branch information
brauner committed Jun 18, 2018
2 parents c0b5121 + 663014e commit d05bd43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lxc/conf.c
Expand Up @@ -947,7 +947,7 @@ static int lxc_setup_ttys(struct lxc_conf *conf)
return 0;
}

int lxc_allocate_ttys(const char *name, struct lxc_conf *conf)
int lxc_allocate_ttys(struct lxc_conf *conf)
{
int i, ret;
struct lxc_tty_info *ttys = &conf->ttys;
Expand Down Expand Up @@ -1062,7 +1062,7 @@ static int lxc_create_ttys(struct lxc_handler *handler)
int ret = -1;
struct lxc_conf *conf = handler->conf;

ret = lxc_allocate_ttys(handler->name, conf);
ret = lxc_allocate_ttys(conf);
if (ret < 0) {
ERROR("Failed to allocate ttys");
goto on_error;
Expand Down

0 comments on commit d05bd43

Please sign in to comment.