summaryrefslogtreecommitdiffstats
path: root/src/drivers/nvs
diff options
context:
space:
mode:
authorMichael Brown2007-12-07 01:11:43 +0100
committerMichael Brown2007-12-07 01:11:43 +0100
commitdf868476e7872c3ebd8c6e2a21f8365858907dc7 (patch)
treec38e7ca65bc32afd869a2e949f573e37cd174e96 /src/drivers/nvs
parentFix prototype mismatch. (diff)
downloadipxe-df868476e7872c3ebd8c6e2a21f8365858907dc7.tar.gz
ipxe-df868476e7872c3ebd8c6e2a21f8365858907dc7.tar.xz
ipxe-df868476e7872c3ebd8c6e2a21f8365858907dc7.zip
Various warnings fixups for OpenBSD with gcc-3.3.5.
Diffstat (limited to 'src/drivers/nvs')
-rw-r--r--src/drivers/nvs/nvs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/nvs/nvs.c b/src/drivers/nvs/nvs.c
index 02a96d9d..8e94b872 100644
--- a/src/drivers/nvs/nvs.c
+++ b/src/drivers/nvs/nvs.c
@@ -91,7 +91,7 @@ static int nvs_verify ( struct nvs_device *nvs, unsigned int address,
/* Compare data */
if ( memcmp ( data, read_data, len ) != 0 ) {
- DBG ( "NVS %p verification failed at %#04x+%d\n",
+ DBG ( "NVS %p verification failed at %#04x+%zd\n",
nvs, address, len );
return -EIO;
}