[PATCH BlueZ] test/mesh: Fix token format to use all 16 digits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 test/test-mesh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/test-mesh b/test/test-mesh
index 5db1d6d1a..6a607835c 100755
--- a/test/test-mesh
+++ b/test/test-mesh
@@ -305,7 +305,7 @@ def create_cb(value):
 	global attach
 
 	print(set_yellow('Created mesh network with token ') +
-			set_green(format(value, '16x')))
+			set_green(format(value, '016x')))
 
 	token = value
 	have_token = True
@@ -462,7 +462,7 @@ class Application(dbus.service.Object):
 		global attach
 
 		print(set_yellow('Joined mesh network with token ') +
-				set_green(format(value, '16x')))
+				set_green(format(value, '016x')))
 
 		token = value
 		have_token = True
-- 
2.21.1




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux