summaryrefslogtreecommitdiff
path: root/lib/stream-fd.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/stream-fd.c
parent5fcbed7479c5f1d2cc08c3f544f10dbbe8ec0d90 (diff)
downloadopenvswitch-10a89ef04df5669c5cdd02f786150a7ab8454e01.tar.gz
Replace all uses of strerror() by ovs_strerror(), for thread safety.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/stream-fd.c')
-rw-r--r--lib/stream-fd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stream-fd.c b/lib/stream-fd.c
index df5e8b0e8..d102582af 100644
--- a/lib/stream-fd.c
+++ b/lib/stream-fd.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 2009, 2010, 2012 Nicira, Inc.
+ * Copyright (c) 2008, 2009, 2010, 2012, 2013 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -233,7 +233,7 @@ pfd_accept(struct pstream *pstream, struct stream **new_streamp)
if (new_fd < 0) {
retval = errno;
if (retval != EAGAIN) {
- VLOG_DBG_RL(&rl, "accept: %s", strerror(retval));
+ VLOG_DBG_RL(&rl, "accept: %s", ovs_strerror(retval));
}
return retval;
}