Commit 00ad3112 authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov

tty: fix typo

This is supposed to be an else if.

CC: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 048257cb
...@@ -1532,7 +1532,7 @@ static int collect_one_tty(void *obj, ProtobufCMessage *msg, struct cr_img *i) ...@@ -1532,7 +1532,7 @@ static int collect_one_tty(void *obj, ProtobufCMessage *msg, struct cr_img *i)
info->tfe->id); info->tfe->id);
return -1; return -1;
} }
} if (info->driver->type != TTY_TYPE__EXT_TTY) { } else if (info->driver->type != TTY_TYPE__EXT_TTY) {
pr_err("No reg_d descriptor for id %#x\n", info->tfe->id); pr_err("No reg_d descriptor for id %#x\n", info->tfe->id);
return -1; return -1;
} }
......
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