svn commit: r281690 - head/usr.sbin/bluetooth/hccontrol

Takanori Watanabe takawata at FreeBSD.org
Sat Apr 18 16:04:33 UTC 2015


Author: takawata
Date: Sat Apr 18 16:04:32 2015
New Revision: 281690
URL: https://svnweb.freebsd.org/changeset/base/281690

Log:
  Change printf formatting to unbroke i386 arch.
  
  Submitted by:david at catwhisker.org

Modified:
  head/usr.sbin/bluetooth/hccontrol/le.c

Modified: head/usr.sbin/bluetooth/hccontrol/le.c
==============================================================================
--- head/usr.sbin/bluetooth/hccontrol/le.c	Sat Apr 18 09:49:09 2015	(r281689)
+++ head/usr.sbin/bluetooth/hccontrol/le.c	Sat Apr 18 16:04:32 2015	(r281690)
@@ -232,7 +232,7 @@ le_read_local_supported_features(int s, 
 			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
 					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;
 }


More information about the svn-src-head mailing list