summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2019-07-03 15:47:50 -0400
committerKyleMiles <krm504@nyu.edu>2019-07-03 15:47:50 -0400
commitef10818632b8a7373307fc436e95ca9220aae5cf (patch)
tree28cef832cdc265c0cac4bc4879796a080368b8b0
parentf95a3e4baabc1c74cfb5a8c6b33f4a2a7ff91841 (diff)
Fix log warning formatting
Co-authored-by: Vasco-jofra <Vasco-jofra@users.noreply.github.com>
-rw-r--r--python/binaryview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index 5744cbf0..08ee5b47 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -3490,7 +3490,7 @@ class BinaryView(object):
return None
if str_ref.type != StringType.AsciiString:
partial = False
- log.log_warn("Partial string not supported at 0x{}".format(hex(addr)))
+ log.log_warn("Partial string not supported at {}".format(hex(addr)))
start = addr if partial else str_ref.start
length = str_ref.length - (addr - str_ref.start) if partial else str_ref.length
return StringReference(self, StringType(str_ref.type), start, length)