diff options
author | Michael Brown | 2007-12-07 01:11:43 +0100 |
---|---|---|
committer | Michael Brown | 2007-12-07 01:11:43 +0100 |
commit | df868476e7872c3ebd8c6e2a21f8365858907dc7 (patch) | |
tree | c38e7ca65bc32afd869a2e949f573e37cd174e96 /src/drivers/nvs | |
parent | Fix prototype mismatch. (diff) | |
download | ipxe-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.c | 2 |
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; } |