Diff between 6dab2b3f06a94340cfb8b61dce67dba4d23a1001 and 2d7a7404a44e3bbbd2edb7387719146c308a187b

Changed Files

File Additions Deletions Status
tools/parser/parser.c +2 -2 modified

Full Patch

diff --git a/tools/parser/parser.c b/tools/parser/parser.c
index b71d18e..9e62831 100644
--- a/tools/parser/parser.c
+++ b/tools/parser/parser.c
@@ -159,8 +159,8 @@ void ext_dump(int level, struct frame *frm, int num)
 
 		for (i = 0; i < size; i++)
 			printf("%02x%s", buf[i], (i + 1) % 8 ? " " : "  ");
-		for (i = 0; i < 16 - size; i++)
-			printf("  %s", (i + 1) % 8 ? "  " : "  ");
+		for (i = size; i < 16; i++)
+			printf("  %s", (i + 1) % 8 ? " " : "  ");
 
 		for (i = 0; i < size; i++)
 			printf("%1c", isprint(buf[i]) ? buf[i] : '.');