From: Wei Liu Date: Thu, 23 Apr 2015 16:13:34 +0000 (+0100) Subject: xen/xenbus: fix two DPRINTFs X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3ea9db4f9ab3e9d4b372990d15dae844c66fa246;p=people%2Fliuw%2Frumprun.git xen/xenbus: fix two DPRINTFs Signed-off-by: Wei Liu --- diff --git a/platform/xen/rumpxendev/busdev.c b/platform/xen/rumpxendev/busdev.c index 1f0b5b9..a125864 100644 --- a/platform/xen/rumpxendev/busdev.c +++ b/platform/xen/rumpxendev/busdev.c @@ -837,7 +837,7 @@ xenbus_dev_close(struct file *fp) LIST_FOREACH_SAFE(trans, &d->transactions, entry, trans_tmp) { DPRINTF(("/dev/xen/xenbus: close transaction" " %p %"PRIx32"\n", - trans, trans->tx_id)); + trans, (unsigned int)trans->tx_id)); /* mirrors process_request XS_TRANSACTION_END */ trans->destroy.req_type = XS_TRANSACTION_END; trans->destroy.u.trans = trans; @@ -863,8 +863,7 @@ xenbus_dev_close(struct file *fp) KASSERT(LIST_EMPTY(&d->transactions)); KASSERT(LIST_EMPTY(&d->watches)); - DPRINTF(("/dev/xen/xenbus: close seldestroy\n", - d->outstanding_requests)); + DPRINTF(("/dev/xen/xenbus: close seldestroy\n")); seldestroy(&d->selinfo); xbd_free(d);