From e199d806842289849035e184c4f73399ad376d45 Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Fri, 27 May 2016 11:37:02 +0000 Subject: [PATCH] Fix build on i386. MFC after: 1 month Sponsored by: The FreeBSD Foundation --- sys/dev/iser/iser_verbs.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/dev/iser/iser_verbs.c b/sys/dev/iser/iser_verbs.c index f4885f8a6808..9c9ed72c4472 100644 --- a/sys/dev/iser/iser_verbs.c +++ b/sys/dev/iser/iser_verbs.c @@ -136,10 +136,12 @@ static void iser_handle_wc(struct ib_wc *wc) struct iser_conn *iser_conn = container_of(ib_conn, struct iser_conn, ib_conn); if (wc->status != IB_WC_WR_FLUSH_ERR) { - ISER_ERR("conn %p wr id %lx status %d vend_err %x", - iser_conn, wc->wr_id, wc->status, wc->vendor_err); + ISER_ERR("conn %p wr id %llx status %d vend_err %x", + iser_conn, (unsigned long long)wc->wr_id, + wc->status, wc->vendor_err); } else { - ISER_DBG("flush error: conn %p wr id %lx", iser_conn, wc->wr_id); + ISER_DBG("flush error: conn %p wr id %llx", + iser_conn, (unsigned long long)wc->wr_id); } if (wc->wr_id == ISER_BEACON_WRID) {