netlink-socket: Convert from error number to string correctly.
authorGurucharan Shetty <gshetty@nicira.com>
Tue, 9 Sep 2014 18:55:45 +0000 (11:55 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 10 Sep 2014 21:27:15 +0000 (14:27 -0700)
commit52a1540a7f0bd88f9fede572a5ac7789b03998c5
treee3044f0a0ea6be1b854494d84dcf5e1fce46c2af
parent2ea824143172e38b4387ef23b8685cebaee21c69
netlink-socket: Convert from error number to string correctly.

As mentioned in the comment above the function ovs_strerror(), it
should not be used to convert WINAPI error numbers to string.
Use ovs_lasterror_to_string() instead.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
lib/netlink-socket.c