summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2015-01-19 21:26:25 -0800
committerBen Pfaff <blp@nicira.com>2015-01-20 04:31:52 -0800
commit2b123371ef5ded1c27f95595c10ab122c6afccdf (patch)
tree76d8851456b7cd2abb223a185a8724ad5a24de1d
parentf33368ee6d64c8c264d75c4486b5f9802d327c62 (diff)
downloadopenvswitch-2b123371ef5ded1c27f95595c10ab122c6afccdf.tar.gz
stream-fd: Fix log message.
The log message for a send operation should refer to "send", not "recv". Looks like an old cut-and-paste error. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Thomas Graf <tgraf@noironetworks.com>
-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 a6a10d476..2cb4b4c92 100644
--- a/lib/stream-fd.c
+++ b/lib/stream-fd.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 2009, 2010, 2012, 2013, 2014 Nicira, Inc.
+ * Copyright (c) 2008, 2009, 2010, 2012, 2013, 2014, 2015 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -134,7 +134,7 @@ fd_send(struct stream *stream, const void *buffer, size_t n)
}
#endif
if (error != EAGAIN) {
- VLOG_DBG_RL(&rl, "recv: %s", sock_strerror(error));
+ VLOG_DBG_RL(&rl, "send: %s", sock_strerror(error));
}
return -error;
}