summaryrefslogtreecommitdiff
path: root/kexec/zlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/zlib.c')
-rw-r--r--kexec/zlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexec/zlib.c b/kexec/zlib.c
index 7170ac3..95b6080 100644
--- a/kexec/zlib.c
+++ b/kexec/zlib.c
@@ -60,8 +60,8 @@ char *zlib_decompress_file(const char *filename, off_t *r_size)
if ((errno == EINTR) || (errno == EAGAIN))
continue;
_gzerror(fp, &errnum, &msg);
- dbgprintf("Read on %s of %ld bytes failed: %s\n",
- filename, (allocated - size) + 0UL, msg);
+ dbgprintf("Read on %s of %d bytes failed: %s\n",
+ filename, (int)(allocated - size), msg);
size = 0;
goto fail;
}