Print hex values with '0x' prefix and octal with '0' in debug messages

Seeing a log message saying 'flags=93' is ambiguous & confusing unless
you happen to know that libvirt always prints flags as hex.  Change our
debug messages so that they always add a '0x' prefix when printing flags,
and '0' prefix when printing mode. A few other misc places gain a '0x'
prefix in error messages too.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange
2017-09-25 11:43:33 +01:00
parent b482925c22
commit 32d6c7386d
131 changed files with 553 additions and 553 deletions

View File

@@ -13347,12 +13347,12 @@ msgstr "Не успеав да го зачувам доменот %s во %s"
#: src/lxc/lxc_container.c:990
#, fuzzy, c-format
msgid "Failed to mount %s on %s type %s flags=%x"
msgid "Failed to mount %s on %s type %s flags=0x%x"
msgstr "Не успеав да го зачувам доменот %s во %s"
#: src/lxc/lxc_container.c:1000
#, fuzzy, c-format
msgid "Failed to re-mount %s on %s flags=%x"
msgid "Failed to re-mount %s on %s flags=0x%x"
msgstr "Не успеав да го зачувам доменот %s во %s"
#: src/lxc/lxc_container.c:1035