Commit 9120080f authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Andrei Vagin

net: libnetlink -- Drop ERROR keyword from default handler

Lets just use regular pr_perror helper prefix without
additional 'ERROR' keyword which may confuse external
tools.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@gmail.com>
parent 33166f29
......@@ -45,10 +45,14 @@ static int nlmsg_receive(char *buf, int len,
return 1;
}
/*
* Default errror handler: just point our an error
* and pass up to caller.
*/
static int rtnl_return_err(int err, struct ns_id *ns, void *arg)
{
errno = -err;
pr_perror("ERROR %d reported by netlink", err);
pr_perror("%d reported by netlink", err);
return err;
}
......
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