summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortakawata <takawata@FreeBSD.org>2015-04-18 16:04:32 +0000
committertakawata <takawata@FreeBSD.org>2015-04-18 16:04:32 +0000
commitf5cd924224bb3a40d1410f9ca7aa6b158f7a4646 (patch)
tree95904560f37379a286000531ddd26a1f2746d44b
parentbefe1c29cd8b74dfdcf51d6ddbc1b55867ceb0fd (diff)
downloadFreeBSD-src-f5cd924224bb3a40d1410f9ca7aa6b158f7a4646.zip
FreeBSD-src-f5cd924224bb3a40d1410f9ca7aa6b158f7a4646.tar.gz
Change printf formatting to unbroke i386 arch.
Submitted by:david@catwhisker.org
-rw-r--r--usr.sbin/bluetooth/hccontrol/le.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bluetooth/hccontrol/le.c b/usr.sbin/bluetooth/hccontrol/le.c
index 12f3c69..29004ef 100644
--- a/usr.sbin/bluetooth/hccontrol/le.c
+++ b/usr.sbin/bluetooth/hccontrol/le.c
@@ -232,7 +232,7 @@ le_read_local_supported_features(int s, int argc ,char *argv[])
NG_HCI_OCF_LE_READ_LOCAL_SUPPORTED_FEATURES),
(void *)&rp, &n);
- printf("LOCAL SUPPORTED: %d %d %lu\n", e, rp.status,
+ printf("LOCAL SUPPORTED: %d %d %jx\n", e, rp.status,
rp.le_features);
return 0;
@@ -250,7 +250,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 %lx\n", e, rp.status, rp.le_status);
+ printf("LE_STATUS: %d %d %jx\n", e, rp.status, rp.le_status);
return 0;
}
OpenPOWER on IntegriCloud