libnetlink: typo fixed

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
Stanislav Kinsbursky 2012-01-13 16:26:00 +04:00 committed by Cyrill Gorcunov
parent 3b7c1a1c79
commit 7dcf59de2f

View file

@ -29,7 +29,7 @@ int nlmsg_receive(char *buf, int len, int (*cb)(struct nlmsghdr *))
if (hdr->nlmsg_type == NLMSG_DONE)
return 0;
if (hdr->nlmsg_type == NLMSG_ERROR) {
pr_err("Error getting scokets list\n");
pr_err("Error getting sockets list\n");
return -1;
}
if (cb(hdr))