Displaying 2 results from an estimated 2 matches for "08zx".
Did you mean:
08x
2014 Nov 22
3
Use z size specifier for printf-ing size_t variable
...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);
diff --git a/com32/mboot/map.c b/com32/mboot/map.c
index 84f3b20..4b0baa2 100644
--- a/com32/mboot/map.c
+++ b/com32/mboot/map.c
@@ -61,7...
2015 Jan 25
0
Use z size specifier for printf-ing size_t variable
...t 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);
> diff --git a/com32/mboot/map.c b/com32/mboot/map.c
> index 84f3b20..4b0baa2 100644
>...