summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-03-18 11:20:26 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-03-18 11:20:26 +0000
commit65852011d8f5150c5c0bcbfeac90e2fd784905c5 (patch)
treeaa69e16257b8f0992574529531957d3ce31eb346 /daemon
parent502a98948c1bade2969758aff3db09869481105a (diff)
downloadlibguestfs-65852011d8f5150c5c0bcbfeac90e2fd784905c5.tar.gz
libguestfs-65852011d8f5150c5c0bcbfeac90e2fd784905c5.tar.xz
libguestfs-65852011d8f5150c5c0bcbfeac90e2fd784905c5.zip
proto: Improve debug messages.
Diffstat (limited to 'daemon')
-rw-r--r--daemon/proto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/proto.c b/daemon/proto.c
index 00e3166c..90a83886 100644
--- a/daemon/proto.c
+++ b/daemon/proto.c
@@ -401,7 +401,8 @@ receive_file (receive_cb cb, void *opaque)
free (buf);
if (verbose)
- fprintf (stderr, "receive_file: got chunk: cancel = %d, len = %d, buf = %p\n",
+ fprintf (stderr,
+ "receive_file: got chunk: cancel = 0x%x, len = %d, buf = %p\n",
chunk.cancel, chunk.data.data_len, chunk.data.data_val);
if (chunk.cancel) {