Replace all uses of strerror() by ovs_strerror(), for thread safety.
[sliver-openvswitch.git] / lib / ovs-thread.c
index 3ea07b5..d08751c 100644 (file)
@@ -153,7 +153,7 @@ pid_t
 
     pid = fork();
     if (pid < 0) {
-        VLOG_FATAL("fork failed (%s)", strerror(errno));
+        VLOG_FATAL("fork failed (%s)", ovs_strerror(errno));
     }
     return pid;
 }