From: Ian Jackson Date: Fri, 7 Oct 2016 18:00:38 +0000 (+0100) Subject: librumpxen_xendev: xenbus: Remove dependency on in "user" code X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=92dd08ba3125b4438ffe86ea99de77bc5957fb1b;p=osstest%2Frumprun.git librumpxen_xendev: xenbus: Remove dependency on in "user" code busdev_user.c is compiled in a minios context which sadly lacks . Drop it, and change the one use of PRIx32 to a %lx (fixing the type of the cast, while we're at it). Signed-off-by: Ian Jackson --- diff --git a/platform/xen/librumpxen_xendev/busdev_user.c b/platform/xen/librumpxen_xendev/busdev_user.c index 3370cc8..8e0f90a 100644 --- a/platform/xen/librumpxen_xendev/busdev_user.c +++ b/platform/xen/librumpxen_xendev/busdev_user.c @@ -10,8 +10,6 @@ #include #include -#include - #include "busdev_user.h" #define xbd_malloc(sz) (bmk_memalloc((sz), 0, BMK_MEMWHO_RUMPKERN)) @@ -574,8 +572,8 @@ rumpxenbus_dev_user_shutdown(struct rumpxenbus_data_common *dc) const struct write_req trans_end_data = { "F", 2 }; LIST_FOREACH_SAFE(trans, &d->transactions, entry, trans_tmp) { DPRINTF(("/dev/xen/xenbus: close transaction" - " %p %"PRIx32"\n", - trans, (unsigned int)trans->tx_id)); + " %p %lx\n", + trans, (unsigned long)trans->tx_id)); /* mirrors process_request XS_TRANSACTION_END */ trans->destroy.req_type = XS_TRANSACTION_END; trans->destroy.u.trans = trans;