mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
files: Print file type for BUG
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
d9fb201175
commit
827a86287c
1 changed files with 2 additions and 1 deletions
3
files.c
3
files.c
|
|
@ -131,7 +131,8 @@ static inline struct file_desc *find_file_desc(FdinfoEntry *fe)
|
|||
struct fdinfo_list_entry *file_master(struct file_desc *d)
|
||||
{
|
||||
if (list_empty(&d->fd_info_head)) {
|
||||
pr_err("Empty list on file desc id %#x\n", d->id);
|
||||
pr_err("Empty list on file desc id %#x(%d)\n", d->id,
|
||||
d->ops ? d->ops->type : -1);
|
||||
BUG();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue