]> granicus.if.org Git - icinga2/commitdiff
Fix bug in the mutex gdb printer.
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 2 Sep 2013 13:12:04 +0000 (15:12 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 2 Sep 2013 13:12:04 +0000 (15:12 +0200)
contrib/gdb/icingadbg.py

index e71ddba602995e129a04f1477ce52dffc2121a92..64ad2df8c1859d63f4bf1be7e143057f16dcd219 100644 (file)
@@ -43,7 +43,7 @@ class IcingaMutexPrinter:
       if owner == 0:
           return '<unlocked>'
       else:
-          return '<locked by #' + owner + '>'
+          return '<locked by #' + str(owner) + '>'
 
 def lookup_icinga_type(val):
     t = val.type.unqualified()