From 10a89ef04df5669c5cdd02f786150a7ab8454e01 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 24 Jun 2013 10:54:49 -0700 Subject: Replace all uses of strerror() by ovs_strerror(), for thread safety. Signed-off-by: Ben Pfaff --- lib/stream-fd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/stream-fd.c') 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; } -- cgit v1.2.1