qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 2/3] nbd: Fix poor debug message


From: Eric Blake
Subject: [Qemu-devel] [PATCH 2/3] nbd: Fix poor debug message
Date: Thu, 31 Mar 2016 15:20:21 -0600

The client sends messages to the server, not itself.

Signed-off-by: Eric Blake <address@hidden>
---
 nbd/client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nbd/client.c b/nbd/client.c
index 5af9f26..d95ad7a 100644
--- a/nbd/client.c
+++ b/nbd/client.c
@@ -635,7 +635,7 @@ ssize_t nbd_send_request(QIOChannel *ioc, struct 
nbd_request *request)
     cpu_to_be64w((uint64_t *)(buf + 16), request->from);
     cpu_to_be32w((uint32_t *)(buf + 24), request->len);

-    TRACE("Sending request to client: "
+    TRACE("Sending request to server: "
           "{ .from = %" PRIu64", .len = %u, .handle = %" PRIu64
           ", .flags=%x, .type=%i}",
           request->from, request->len, request->handle, request->flags,
-- 
2.5.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]