mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
netlink: Lower netlink error report log level
This most likely meand, that the respective -diag module is missing. In that case the caller would check it and _might_ not fail the dump at once. Thus treat it as error. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
52de6313a8
commit
714443d96f
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ static int nlmsg_receive(char *buf, int len, int (*cb)(struct nlmsghdr *, void *
|
|||
if (err->error == 0)
|
||||
return 0;
|
||||
|
||||
pr_err("ERROR %d reported by netlink\n", err->error);
|
||||
pr_warn("ERROR %d reported by netlink\n", err->error);
|
||||
return err->error;
|
||||
}
|
||||
if (cb(hdr, arg))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue