diff options
| author | Michael Brown | 2008-06-27 23:35:26 +0200 |
|---|---|---|
| committer | Michael Brown | 2008-06-27 23:35:26 +0200 |
| commit | 2596a9aa9c25168e5e4f11cb42ebb3b85d51aae8 (patch) | |
| tree | a3203940e415362f7e9cbaf12435ebe0b70b0abd /src/interface | |
| parent | [a20] Send a null command to the KBC after changing A20 (diff) | |
| download | ipxe-2596a9aa9c25168e5e4f11cb42ebb3b85d51aae8.tar.gz ipxe-2596a9aa9c25168e5e4f11cb42ebb3b85d51aae8.tar.xz ipxe-2596a9aa9c25168e5e4f11cb42ebb3b85d51aae8.zip | |
[misc] Fix building on OpenBSD
OpenBSD throws compiler warnings that we can't reproduce on Linux, for
some reason.
Original patch from Dewey Hylton <dewey@hyltown.com>.
Diffstat (limited to 'src/interface')
| -rw-r--r-- | src/interface/pxe/pxe_tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/pxe/pxe_tftp.c b/src/interface/pxe/pxe_tftp.c index 976298a8a..f5e762066 100644 --- a/src/interface/pxe/pxe_tftp.c +++ b/src/interface/pxe/pxe_tftp.c @@ -189,7 +189,7 @@ static int pxe_tftp_open ( uint32_t ipaddress, unsigned int port, if ( blksize < TFTP_DEFAULT_BLKSIZE ) blksize = TFTP_DEFAULT_BLKSIZE; snprintf ( uri_string, sizeof ( uri_string ), - "tftp://%s:%d%s%s?blksize=%d", + "tftp://%s:%d%s%s?blksize=%zd", inet_ntoa ( address ), ntohs ( port ), ( ( filename[0] == '/' ) ? "" : "/" ), filename, blksize ); DBG ( " %s", uri_string ); |
