[PATCH] net.c: fix a typo in print_tpacket_stats

Zhibin Li 08826794brmt at gmail.com
Thu Jul 5 14:43:25 UTC 2018


---
 net.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net.c b/net.c
index 89ea5edf..bbb8a94b 100644
--- a/net.c
+++ b/net.c
@@ -643,7 +643,7 @@ print_tpacket_stats(struct tcb *const tcp, const kernel_ulong_t addr,
 		printaddr(addr);
 	} else {
 		PRINT_FIELD_U("{", stats, tp_packets);
-		PRINT_FIELD_U("{", stats, tp_drops);
+		PRINT_FIELD_U(", ", stats, tp_drops);
 		tprints("}");
 	}
 }
-- 
2.14.4



More information about the Strace-devel mailing list