diff options
| author | Michael Brown | 2007-12-06 21:16:46 +0100 |
|---|---|---|
| committer | Michael Brown | 2007-12-06 21:16:46 +0100 |
| commit | 1949641d102b0fdc8d4314abaee9ba055481fcc0 (patch) | |
| tree | 0c302355c988e9b1d2c942bb1cc6d6170a933944 /src/interface/pxe/pxe_undi.c | |
| parent | Kill off some warnings-problematic debug statements in ndp.c; the code (diff) | |
| download | ipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.tar.gz ipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.tar.xz ipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.zip | |
Fix compiler warnings that appear only on OpenBSD.
Diffstat (limited to 'src/interface/pxe/pxe_undi.c')
| -rw-r--r-- | src/interface/pxe/pxe_undi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interface/pxe/pxe_undi.c b/src/interface/pxe/pxe_undi.c index f19dfcc54..76b55df9d 100644 --- a/src/interface/pxe/pxe_undi.c +++ b/src/interface/pxe/pxe_undi.c @@ -227,11 +227,11 @@ PXENV_EXIT_t pxenv_undi_transmit ( struct s_PXENV_UNDI_TRANSMIT copy_from_real ( &tbd, undi_transmit->TBD.segment, undi_transmit->TBD.offset, sizeof ( tbd ) ); len = tbd.ImmedLength; - DBG ( " %zd", tbd.ImmedLength ); + DBG ( " %d", tbd.ImmedLength ); for ( i = 0 ; i < tbd.DataBlkCount ; i++ ) { datablk = &tbd.DataBlock[i]; len += datablk->TDDataLen; - DBG ( "+%zd", datablk->TDDataLen ); + DBG ( "+%d", datablk->TDDataLen ); } /* Allocate and fill I/O buffer */ |
