]> Git Repo - qemu.git/commitdiff
nbd: Fix poor debug message
authorEric Blake <[email protected]>
Thu, 31 Mar 2016 21:20:21 +0000 (15:20 -0600)
committerPaolo Bonzini <[email protected]>
Tue, 5 Apr 2016 09:46:52 +0000 (11:46 +0200)
The client sends messages to the server, not itself.

Signed-off-by: Eric Blake <[email protected]>
Message-Id: <1459459222[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
nbd/client.c

index f89c0a16ae130dc97a54a23d90e7f1ef2930a3c8..d9b7a9b07edba1055446527d79df2ecc584cd412 100644 (file)
@@ -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);
 
This page took 0.025986 seconds and 4 git commands to generate.