blob: 9883f8b2cb7d760f6571fde44c5c26fbdc0eee5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- a/madt/madt.c
+++ b/madt/madt.c
@@ -46,7 +46,7 @@
{
size_t retval;
- if (verbose) printf("reading %d byte entry header\n", sizeof(acpi_table_entry_header));
+ if (verbose) printf("reading %ld byte entry header\n", sizeof(acpi_table_entry_header));
retval = fread((void *)entry_header, sizeof(acpi_table_entry_header), 1, stdin);
return retval;
}
@@ -64,7 +64,7 @@
bytes_read = csum = 0;
- if (verbose) printf("reading %d madt header\n", sizeof(struct acpi_table_madt));
+ if (verbose) printf("reading %ld madt header\n", sizeof(struct acpi_table_madt));
retval = fread((void *)buffer, sizeof(struct acpi_table_madt), 1, stdin);
if (retval != 1) {
|