Diff between 24d0ed1aa1eec50949b01ea817de3b95a682861a and 458e3278227563965b079ad2d3e6fc07ac4ef83f

Changed Files

File Additions Deletions Status
monitor/l2cap.c +1 -1 modified
monitor/packet.c +3 -3 modified

Full Patch

diff --git a/monitor/l2cap.c b/monitor/l2cap.c
index 383d49c..c70d050 100644
--- a/monitor/l2cap.c
+++ b/monitor/l2cap.c
@@ -31,7 +31,7 @@
 #include "packet.h"
 #include "l2cap.h"
 
-#define print_field(fmt, args...) printf("%-12c" fmt "\n", ' ', ## args)
+#define print_field(fmt, args...) printf("%-10c" fmt "\n", ' ', ## args)
 
 struct sig_opcode_data {
 	uint8_t opcode;
diff --git a/monitor/packet.c b/monitor/packet.c
index e5f9e75..76c3793 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -188,7 +188,7 @@ static void print_packet(struct timeval *tv, uint16_t index, char ident,
 		printf("%s\n", line);
 }
 
-#define print_field(fmt, args...) printf("%-12c" fmt "\n", ' ', ## args)
+#define print_field(fmt, args...) printf("%-10c" fmt "\n", ' ', ## args)
 
 static const struct {
 	uint8_t error;
@@ -1075,7 +1075,7 @@ void packet_hexdump(const unsigned char *buf, uint16_t len)
 			str[47] = ' ';
 			str[48] = ' ';
 			str[65] = '\0';
-			print_text(COLOR_WHITE, "%-12c%s\n", ' ', str);
+			print_text(COLOR_WHITE, "%-10c%s\n", ' ', str);
 			str[0] = ' ';
 		}
 	}
@@ -1091,7 +1091,7 @@ void packet_hexdump(const unsigned char *buf, uint16_t len)
 		str[47] = ' ';
 		str[48] = ' ';
 		str[65] = '\0';
-		print_text(COLOR_WHITE, "%-12c%s\n", ' ', str);
+		print_text(COLOR_WHITE, "%-10c%s\n", ' ', str);
 	}
 }