stream-fd: Fix log message.
authorBen Pfaff <blp@nicira.com>
Tue, 20 Jan 2015 05:26:25 +0000 (21:26 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 20 Jan 2015 12:31:52 +0000 (04:31 -0800)
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>
lib/stream-fd.c

index a6a10d4..2cb4b4c 100644 (file)
@@ -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;
     }