summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-03-31 15:20:21 -0600
committerPaolo Bonzini <pbonzini@redhat.com>2016-04-05 11:46:52 +0200
commitb6afc654aec977543d89c26a059278f327282d23 (patch)
treeae586a1f16eab7b482db2b567ed2667a682df036
parentca47a926ad780d5cc91a205d25a859128cdf800e (diff)
downloadqemu-b6afc654aec977543d89c26a059278f327282d23.tar.gz
nbd: Fix poor debug message
The client sends messages to the server, not itself. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1459459222-8637-3-git-send-email-eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--nbd/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbd/client.c b/nbd/client.c
index f89c0a16ae..d9b7a9b07e 100644
--- a/nbd/client.c
+++ b/nbd/client.c
@@ -634,7 +634,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", .type=%i}",
request->from, request->len, request->handle, request->type);