]> xenbits.xensource.com Git - people/liuw/rumprun.git/commitdiff
xen/xenbus: fix two DPRINTFs
authorWei Liu <liuw@liuw.name>
Thu, 23 Apr 2015 16:13:34 +0000 (17:13 +0100)
committerWei Liu <liuw@liuw.name>
Thu, 7 May 2015 09:41:44 +0000 (10:41 +0100)
Signed-off-by: Wei Liu <liuw@liuw.name>
platform/xen/rumpxendev/busdev.c

index 1f0b5b962d3dc9acfba074a4397d3c49c158a1fd..a1258644c3756182adbb7e1b662efd66d669410d 100644 (file)
@@ -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);