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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/com32/sysdump/dmi.c b/com32/sysdump/dmi.c
index 64f95a9a..be4cce46 100644
--- a/com32/sysdump/dmi.c
+++ b/com32/sysdump/dmi.c
@@ -78,8 +78,8 @@ static void dump_smbios(struct backend *be, size_t dptr)
smx.dmi.tbladdr = sizeof smx;
smx.dmi.csum -= checksum(&smx.dmi, 0x0f);
- write_data(be, &smx, sizeof smx, false);
- write_data(be, (const void *)smb->dmi.tbladdr, smb->dmi.tbllen, false);
+ write_data(be, &smx, sizeof smx);
+ write_data(be, (const void *)smb->dmi.tbladdr, smb->dmi.tbllen);
}
static void dump_old_dmi(struct backend *be, size_t dptr)
@@ -104,8 +104,8 @@ static void dump_old_dmi(struct backend *be, size_t dptr)
fake.dmi.tbladdr = sizeof fake;
fake.dmi.csum -= checksum(&fake.dmi, 0x0f);
- write_data(be, &fake, sizeof fake, false);
- write_data(be, (const void *)dmi->tbladdr, dmi->tbllen, false);
+ write_data(be, &fake, sizeof fake);
+ write_data(be, (const void *)dmi->tbladdr, dmi->tbllen);
}
void dump_dmi(struct backend *be)