projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
458d7a6
)
nbd/server: fix TRACE in nbd_negotiate_send_rep_len
author
Vladimir Sementsov-Ogievskiy
<vsementsov@virtuozzo.com>
Fri, 7 Jul 2017 15:29:15 +0000
(18:29 +0300)
committer
Eric Blake
<eblake@redhat.com>
Mon, 10 Jul 2017 14:57:24 +0000
(09:57 -0500)
Fix wrong order of TRACE arguments.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <
20170707152918
.23086-8-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
nbd/server.c
patch
|
blob
|
history
diff --git
a/nbd/server.c
b/nbd/server.c
index e3fd0ca8fe47a8170b2fd43cb806ada4fadca951..1eeafccaca7a1d2c5c91571be96c30eed7a372c8 100644
(file)
--- a/
nbd/server.c
+++ b/
nbd/server.c
@@
-139,7
+139,7
@@
static int nbd_negotiate_send_rep_len(QIOChannel *ioc, uint32_t type,
uint64_t magic;
TRACE("Reply opt=%" PRIx32 " type=%" PRIx32 " len=%" PRIu32,
-
type, opt
, len);
+
opt, type
, len);
magic = cpu_to_be64(NBD_REP_MAGIC);
if (nbd_write(ioc, &magic, sizeof(magic), errp) < 0) {