https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5c77cd9050223de3867c8eec83e8832b165572db

commit 5c77cd9050223de3867c8eec83e8832b165572db
Author:     Serge Gautherie <[email protected]>
AuthorDate: Fri Dec 21 00:27:01 2018 +0100
Commit:     Hermès BÉLUSCA - MAÏTO <[email protected]>
CommitDate: Fri Dec 21 00:27:01 2018 +0100

    [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 cbe9482f49..7213781c15 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

Reply via email to