From: Ben Pfaff Date: Tue, 20 Jan 2015 05:26:25 +0000 (-0800) Subject: stream-fd: Fix log message. X-Git-Tag: v2.4.0~681 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=2b123371ef5ded1c27f95595c10ab122c6afccdf;p=cascardo%2Fovs.git 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 Acked-by: Thomas Graf --- 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; }