mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
rst: Compact file-descs collects a bit
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
4
tty.c
4
tty.c
@@ -972,9 +972,7 @@ static int collect_one_tty(void *obj, ProtobufCMessage *msg)
|
||||
pr_info("Collected tty ID %#x\n", info->tfe->id);
|
||||
|
||||
list_add(&info->list, &all_ttys);
|
||||
file_desc_add(&info->d, info->tfe->id, &tty_desc_ops);
|
||||
|
||||
return 0;
|
||||
return file_desc_add(&info->d, info->tfe->id, &tty_desc_ops);
|
||||
}
|
||||
|
||||
int collect_tty(void)
|
||||
|
Reference in New Issue
Block a user