Fix format spec for ILP32.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
5a109a27de
commit
60e0953ea8
@ -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)),
|
||||
|
Loading…
x
Reference in New Issue
Block a user