From 5c77cd9050223de3867c8eec83e8832b165572db Mon Sep 17 00:00:00 2001 From: Serge Gautherie <32623169+SergeGautherie@users.noreply.github.com> Date: Fri, 21 Dec 2018 00:27:01 +0100 Subject: [PATCH] [LOG2LINES] Partially sync output format from command line input (#1109) --- sdk/tools/log2lines/log2lines.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sdk/tools/log2lines/log2lines.c b/sdk/tools/log2lines/log2lines.c index cbe9482f49d..7213781c15b 100644 --- a/sdk/tools/log2lines/log2lines.c +++ b/sdk/tools/log2lines/log2lines.c @@ -644,8 +644,12 @@ main(int argc, const char **argv) if (exefile) { l2l_dbg(2, "translating %s %s\n", exefile, offset); - translate_file(exefile, my_atoi(offset), Line); - printf("%s\n", Line); + printf("<%s:%s", exefile, offset); + if (!translate_file(exefile, my_atoi(offset), Line)) + { + printf(" (%s)", Line); + } + printf(">\n"); report(conOut); } else