From: Harsh Prateek Bora Date: Sun, 24 Oct 2010 15:24:26 +0000 (+0530) Subject: hw/virtio9p: Use appropriate debug print functions in TLINK path X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d04e2826f5509092c8f0c6c3db7fa3232d912f7e;p=qemu.git hw/virtio9p: Use appropriate debug print functions in TLINK path Running fsstress with debug enabled causes assertion failure because of inappropriate usage of debug print functions. With this patch, fsstress passes without assertion failure. Signed-off-by: Harsh Prateek Bora Signed-off-by: Venkateswararao Jujjuri --- diff --git a/hw/virtio-9p-debug.c b/hw/virtio-9p-debug.c index cff5b07297..6b18842fd4 100644 --- a/hw/virtio-9p-debug.c +++ b/hw/virtio-9p-debug.c @@ -552,8 +552,8 @@ void pprint_pdu(V9fsPDU *pdu) break; case P9_TLINK: fprintf(llogfile, "TLINK: ("); - pprint_int32(pdu, 0, &offset, "fid"); - pprint_str(pdu, 0, &offset, ", oldpath"); + pprint_int32(pdu, 0, &offset, "dfid"); + pprint_int32(pdu, 0, &offset, ", fid"); pprint_str(pdu, 0, &offset, ", newpath"); break; case P9_RLINK: