Replace all uses of strerror() by ovs_strerror(), for thread safety.
[sliver-openvswitch.git] / tests / test-netflow.c
index 921f0fd..413837e 100644 (file)
@@ -184,7 +184,7 @@ main(int argc, char *argv[])
 
     sock = inet_open_passive(SOCK_DGRAM, target, 0, NULL, 0);
     if (sock < 0) {
-        ovs_fatal(0, "%s: failed to open (%s)", argv[1], strerror(-sock));
+        ovs_fatal(0, "%s: failed to open (%s)", argv[1], ovs_strerror(-sock));
     }
 
     daemon_save_fd(STDOUT_FILENO);