From 3f75c17df6b607d9283a8eb6df88094e3a81f655 Mon Sep 17 00:00:00 2001 From: Eugene Syromyatnikov Date: Mon, 20 Sep 2021 03:26:20 +0200 Subject: util: print ellipsis inside an empty array if PAF_ARRAY_TRUNCATED is set * src/util.c (print_array_ex) : Call tprint_more_data_follows() if PAF_ARRAY_TRUNCATED is set in flags. --- src/util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util.c b/src/util.c index 6a685b8f2..b07acdb77 100644 --- a/src/util.c +++ b/src/util.c @@ -1592,6 +1592,8 @@ print_array_ex(struct tcb *const tcp, if (!nmemb) { tprint_array_begin(); + if (flags & PAF_ARRAY_TRUNCATED) + tprint_more_data_follows(); tprint_array_end(); return false; } -- cgit v1.2.1