aboutsummaryrefslogtreecommitdiffstats
path: root/com32/sysdump/dmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/sysdump/dmi.c')
-rw-r--r--com32/sysdump/dmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/sysdump/dmi.c b/com32/sysdump/dmi.c
index ce25efa4..7c39b7bc 100644
--- a/com32/sysdump/dmi.c
+++ b/com32/sysdump/dmi.c
@@ -65,7 +65,7 @@ static void dump_smbios(struct upload_backend *be, size_t dptr)
struct smbios_header smx = *smb;
char filename[32];
- snprintf(filename, sizeof filename, "dmi/%05x.%08x",
+ snprintf(filename, sizeof filename, "dmi/%05zx.%08x",
dptr, smb->dmi.tbladdr);
cpio_hdr(be, MODE_FILE, smb->dmi.tbllen + 32, filename);
@@ -90,7 +90,7 @@ static void dump_old_dmi(struct upload_backend *be, size_t dptr)
} fake;
char filename[32];
- snprintf(filename, sizeof filename, "dmi/%05x.%08x",
+ snprintf(filename, sizeof filename, "dmi/%05zx.%08x",
dptr, dmi->tbladdr);
cpio_hdr(be, MODE_FILE, dmi->tbllen + 32, filename);