diff mbox series

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

Message ID 20200421160951.25583-1-brian.gix@intel.com (mailing list archive)
State Accepted
Headers show
Series [BlueZ] test/mesh: Fix token format to use all 16 digits | expand

Commit Message

Brian Gix April 21, 2020, 4:09 p.m. UTC
---
 test/test-mesh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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