[ovs-dev] [PATCH] stream-fd: Fix log message.
Ben Pfaff
blp at nicira.com
Tue Jan 20 05:26:31 UTC 2015
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 at nicira.com>
---
lib/stream-fd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/stream-fd.c b/lib/stream-fd.c
index a6a10d4..2cb4b4c 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;
}
--
2.1.3
More information about the dev
mailing list