mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
tty: Use tty_name in prints
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
3
tty.c
3
tty.c
@@ -879,8 +879,7 @@ static int open_simple_tty(struct tty_info *info)
|
||||
fd = open_pty_reg(info->reg_d, info->tfe->flags);
|
||||
if (fd < 0) {
|
||||
pr_perror("Can't open %s %x",
|
||||
info->type == TTY_TYPE_CONSOLE ? "console" : "virtual terminal",
|
||||
info->tfe->id);
|
||||
tty_name(info->type), info->tfe->id);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user