diff options
author | Michael Brown | 2008-11-19 03:22:56 +0100 |
---|---|---|
committer | Michael Brown | 2008-11-19 20:15:44 +0100 |
commit | b59e0cc56eb6d5f3b6f934722931f6919309ffd2 (patch) | |
tree | 0e74a023207232f7911e1ccb9abdf6454dea70f5 /src/drivers/infiniband/ib_sma.c | |
parent | [libgcc] Make __libgcc architecture-specific (diff) | |
download | ipxe-b59e0cc56eb6d5f3b6f934722931f6919309ffd2.tar.gz ipxe-b59e0cc56eb6d5f3b6f934722931f6919309ffd2.tar.xz ipxe-b59e0cc56eb6d5f3b6f934722931f6919309ffd2.zip |
[i386] Change [u]int32_t to [unsigned] int, rather than [unsigned] long
This brings us in to line with Linux definitions, and also simplifies
adding x86_64 support since both platforms have 2-byte shorts, 4-byte
ints and 8-byte long longs.
Diffstat (limited to 'src/drivers/infiniband/ib_sma.c')
-rw-r--r-- | src/drivers/infiniband/ib_sma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/infiniband/ib_sma.c b/src/drivers/infiniband/ib_sma.c index 9426c8f1..2bd3a9e8 100644 --- a/src/drivers/infiniband/ib_sma.c +++ b/src/drivers/infiniband/ib_sma.c @@ -269,7 +269,7 @@ static int ib_sma_mad ( struct ib_sma *sma, union ib_mad *mad ) { int rc; DBGC ( sma, "SMA %p received SMP with bv=%02x mc=%02x cv=%02x " - "meth=%02x attr=%04x mod=%08lx\n", sma, hdr->base_version, + "meth=%02x attr=%04x mod=%08x\n", sma, hdr->base_version, hdr->mgmt_class, hdr->class_version, hdr->method, ntohs ( hdr->attr_id ), ntohl ( hdr->attr_mod ) ); DBGC2_HDA ( sma, 0, mad, sizeof ( *mad ) ); |