terminal: lxc_terminal_write_log_file()

parent b6d5de95
...@@ -258,8 +258,8 @@ static int lxc_terminal_write_log_file(struct lxc_terminal *terminal, char *buf, ...@@ -258,8 +258,8 @@ static int lxc_terminal_write_log_file(struct lxc_terminal *terminal, char *buf,
int bytes_read) int bytes_read)
{ {
int ret; int ret;
int64_t space_left = -1;
struct stat st; struct stat st;
int64_t space_left = -1;
if (terminal->log_fd < 0) if (terminal->log_fd < 0)
return 0; return 0;
......
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