Skip to content

Commit

Permalink
console: lxc_terminal_winch()
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 Feb 27, 2018
1 parent 4e9c033 commit 7a10164
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lxc/console.c
Expand Up @@ -88,7 +88,7 @@ void lxc_terminal_winsz(int srcfd, int dstfd)
return;
}

static void lxc_console_winch(struct lxc_tty_state *ts)
static void lxc_terminal_winch(struct lxc_tty_state *ts)
{
lxc_terminal_winsz(ts->stdinfd, ts->masterfd);

Expand All @@ -103,7 +103,7 @@ void lxc_console_sigwinch(int sig)

lxc_list_for_each(it, &lxc_ttys) {
ts = it->elem;
lxc_console_winch(ts);
lxc_terminal_winch(ts);
}
}

Expand All @@ -126,7 +126,7 @@ int lxc_console_cb_signal_fd(int fd, uint32_t events, void *cbdata,
}

if (siginfo.ssi_signo == SIGWINCH)
lxc_console_winch(ts);
lxc_terminal_winch(ts);

return 0;
}
Expand Down

0 comments on commit 7a10164

Please sign in to comment.