[infiniband] Use "%d" as format specifier for LIDs

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2016-03-08 12:08:58 +00:00
parent 7aef4d4c94
commit 36c4779356
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ static void ib_path_complete ( struct ib_device *ibdev,
path->av.lid = ntohs ( pathrec->dlid );
path->av.sl = ( pathrec->reserved__sl & 0x0f );
path->av.rate = ( pathrec->rate_selector__rate & 0x3f );
DBGC ( ibdev, "IBDEV %s path to " IB_GID_FMT " is %04x sl %d rate "
DBGC ( ibdev, "IBDEV %s path to " IB_GID_FMT " lid %d sl %d rate "
"%d\n", ibdev->name, IB_GID_ARGS ( dgid ), path->av.lid,
path->av.sl, path->av.rate );