Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/acpica/dist/namespace fix printf formats
details: https://anonhg.NetBSD.org/src/rev/185d726574b2
branches: trunk
changeset: 966304:185d726574b2
user: christos <christos%NetBSD.org@localhost>
date: Fri Oct 25 01:32:56 2019 +0000
description:
fix printf formats
diffstat:
sys/external/bsd/acpica/dist/namespace/nsdump.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 1737834352ed -r 185d726574b2 sys/external/bsd/acpica/dist/namespace/nsdump.c
--- a/sys/external/bsd/acpica/dist/namespace/nsdump.c Thu Oct 24 23:06:25 2019 +0000
+++ b/sys/external/bsd/acpica/dist/namespace/nsdump.c Fri Oct 25 01:32:56 2019 +0000
@@ -369,7 +369,7 @@
AcpiOsPrintf (" =");
for (i = 0; (i < ObjDesc->Buffer.Length && i < 12); i++)
{
- AcpiOsPrintf (" %.2hX", ObjDesc->Buffer.Pointer[i]);
+ AcpiOsPrintf (" %.2hhX", ObjDesc->Buffer.Pointer[i]);
}
}
AcpiOsPrintf ("\n");
@@ -466,7 +466,7 @@
case ACPI_TYPE_LOCAL_BANK_FIELD:
case ACPI_TYPE_LOCAL_INDEX_FIELD:
- AcpiOsPrintf (" Off %.3X Len %.2X Acc %.2hd\n",
+ AcpiOsPrintf (" Off %.3X Len %.2X Acc %.2hhd\n",
(ObjDesc->CommonField.BaseByteOffset * 8)
+ ObjDesc->CommonField.StartFieldBitOffset,
ObjDesc->CommonField.BitLength,
Home |
Main Index |
Thread Index |
Old Index