Fix format spec for ILP32.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Konstantin Belousov 2019-08-03 18:26:16 +00:00
parent 1947b29861
commit 83b506939a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=350562

View File

@ -381,7 +381,8 @@ acpi_usb_hub_port_probe_cb(ACPI_HANDLE ah, UINT32 lv, void *ctx, void **rv)
struct sysctl_oid *oid;
struct sysctl_oid_list *tree;
snprintf(buf, sizeof(buf), "port%lu", devinfo->Address);
snprintf(buf, sizeof(buf), "port%ju",
(uintmax_t)devinfo->Address);
oid = SYSCTL_ADD_NODE(ctx,
SYSCTL_CHILDREN(
device_get_sysctl_tree(dev)),