aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/syslinux/initramfs_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lib/syslinux/initramfs_file.c')
-rw-r--r--com32/lib/syslinux/initramfs_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/syslinux/initramfs_file.c b/com32/lib/syslinux/initramfs_file.c
index 7eb55b5e..9f9fa753 100644
--- a/com32/lib/syslinux/initramfs_file.c
+++ b/com32/lib/syslinux/initramfs_file.c
@@ -126,7 +126,7 @@ int initramfs_mknod(struct initramfs *ihead, const char *filename,
if (do_mkdir)
bp += initramfs_mkdirs(filename, bp, bytes);
- bp += sprintf(bp, "070701%08x%08x%08x%08x%08x%08x%08x%08x%08x"
+ bp += sprintf(bp, "070701%08x%08x%08x%08x%08x%08x%08zx%08x%08x"
"%08x%08x%08x%08x", next_ino++, mode,
0, 0, 1, 0, len, 0, 1, major, minor, namelen + 1, 0);
memcpy(bp, filename, namelen);