Skip to content

Commit

Permalink
scratchabit/engine: add_area: Use %08x for address logging.
Browse files Browse the repository at this point in the history
Better alignment in the log.
  • Loading branch information
pfalcon committed Mar 12, 2018
1 parent a3c9190 commit 487c79d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scratchabit/engine.py
Expand Up @@ -129,7 +129,7 @@ def __init__(self):
# Memory Area API

def add_area(self, start, end, props):
log.debug("add_area(%x, %x, %s)", start, end, props)
log.debug("add_area(%08x, %08x, %s)", start, end, props)
sz = end - start + 1
bytes = bytearray(sz)
flags = bytearray(sz)
Expand Down

0 comments on commit 487c79d

Please sign in to comment.