diff --git a/usr.sbin/bluetooth/hccontrol/le.c b/usr.sbin/bluetooth/hccontrol/le.c index 29004ef3a8e..afb151e71ad 100644 --- a/usr.sbin/bluetooth/hccontrol/le.c +++ b/usr.sbin/bluetooth/hccontrol/le.c @@ -43,6 +43,7 @@ #include #include #include +#include #define L2CAP_SOCKET_CHECKED #include #include "hccontrol.h" @@ -233,7 +234,7 @@ le_read_local_supported_features(int s, int argc ,char *argv[]) (void *)&rp, &n); printf("LOCAL SUPPORTED: %d %d %jx\n", e, rp.status, - rp.le_features); + (uintmax_t) rp.le_features); return 0; } @@ -250,7 +251,7 @@ le_read_supported_status(int s, int argc, char *argv[]) NG_HCI_OCF_LE_READ_SUPPORTED_STATUS), (void *)&rp, &n); - printf("LE_STATUS: %d %d %jx\n", e, rp.status, rp.le_status); + printf("LE_STATUS: %d %d %jx\n", e, rp.status, (uintmax_t)rp.le_status); return 0; }