mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 23:50:27 +00:00
Fix printf format errors on 64 bit systems where sizes are long
instead of just int.
This commit is contained in:
parent
f144391b8f
commit
0b57bf8a75
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104431
|
@ -205,8 +205,10 @@ acpi_pcib_route_interrupt(device_t pcib, device_t dev, int pin,
|
|||
AcpiFormatException(status));
|
||||
/* this is not fatal, since it may be hardwired */
|
||||
}
|
||||
ACPI_DEBUG_PRINT((ACPI_DB_RESOURCES, "got %d bytes for %s._CRS\n", crsbuf.Length, acpi_name(lnkdev)));
|
||||
ACPI_DEBUG_PRINT((ACPI_DB_RESOURCES, "got %d bytes for %s._PRS\n", prsbuf.Length, acpi_name(lnkdev)));
|
||||
ACPI_DEBUG_PRINT((ACPI_DB_RESOURCES, "got %ld bytes for %s._CRS\n",
|
||||
(long)crsbuf.Length, acpi_name(lnkdev)));
|
||||
ACPI_DEBUG_PRINT((ACPI_DB_RESOURCES, "got %ld bytes for %s._PRS\n",
|
||||
(long)prsbuf.Length, acpi_name(lnkdev)));
|
||||
|
||||
/*
|
||||
* The interrupt may already be routed, so check _CRS first. We don't check the
|
||||
|
|
Loading…
Reference in a new issue