Index: usr.sbin/bluetooth/hccontrol/le.c =================================================================== --- usr.sbin/bluetooth/hccontrol/le.c (revision 281689) +++ usr.sbin/bluetooth/hccontrol/le.c (working copy) @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include @@ -232,8 +233,8 @@ NG_HCI_OCF_LE_READ_LOCAL_SUPPORTED_FEATURES), (void *)&rp, &n); - printf("LOCAL SUPPORTED: %d %d %lu\n", e, rp.status, - rp.le_features); + printf("LOCAL SUPPORTED: %d %d %ju\n", e, rp.status, + (uintmax_t)rp.le_features); return 0; } @@ -250,7 +251,7 @@ NG_HCI_OCF_LE_READ_SUPPORTED_STATUS), (void *)&rp, &n); - printf("LE_STATUS: %d %d %lx\n", e, rp.status, rp.le_status); + printf("LE_STATUS: %d %d %jx\n", e, rp.status, (uintmax_t)rp.le_status); return 0; }