git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace all uses of strerror() by ovs_strerror(), for thread safety.
[sliver-openvswitch.git]
/
lib
/
vlandev.c
diff --git
a/lib/vlandev.c
b/lib/vlandev.c
index
0ccb6ca
..
5f58f10
100644
(file)
--- a/
lib/vlandev.c
+++ b/
lib/vlandev.c
@@
-212,7
+212,7
@@
vlandev_linux_refresh(void)
return 0;
}
return 0;
}
- VLOG_WARN_RL(&rl, "%s: open failed (%s)", fn, strerror(error));
+ VLOG_WARN_RL(&rl, "%s: open failed (%s)", fn,
ovs_
strerror(error));
return error;
}
return error;
}
@@
-250,7
+250,7
@@
do_vlan_ioctl(const char *netdev_name, struct vlan_ioctl_args *via,
error = ioctl(sock, SIOCSIFVLAN, via) < 0 ? errno : 0;
if (error) {
VLOG_WARN_RL(&rl, "%s: VLAN ioctl %s failed (%s)",
error = ioctl(sock, SIOCSIFVLAN, via) < 0 ? errno : 0;
if (error) {
VLOG_WARN_RL(&rl, "%s: VLAN ioctl %s failed (%s)",
- netdev_name, cmd_name, strerror(error));
+ netdev_name, cmd_name,
ovs_
strerror(error));
}
return error;
}
}
return error;
}