aboutsummaryrefslogtreecommitdiff
path: root/lib/ovs-thread.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2013-06-24 10:54:49 -0700
committerBen Pfaff <blp@nicira.com>2013-06-28 16:09:38 -0700
commit10a89ef04df5669c5cdd02f786150a7ab8454e01 (patch)
tree8c921735df6d0dca97df88af70e986c4fdf38dca /lib/ovs-thread.c
parent5fcbed7479c5f1d2cc08c3f544f10dbbe8ec0d90 (diff)
Replace all uses of strerror() by ovs_strerror(), for thread safety.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/ovs-thread.c')
-rw-r--r--lib/ovs-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ovs-thread.c b/lib/ovs-thread.c
index 3ea07b5f..d08751c0 100644
--- a/lib/ovs-thread.c
+++ b/lib/ovs-thread.c
@@ -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;
}