]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Tweak: in stack_trace() remove the extra \n between de-mangled function
authorAlain Spineux <alain@baculasystems.com>
Tue, 8 Mar 2022 13:33:44 +0000 (14:33 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:58 +0000 (13:56 +0200)
bacula/src/lib/bsys.c

index 4f7643e9acc6cd0a12dbeda7e81c3ff813bf2763..2b0a17d69f7f53403e68dbb4474447a1a2724321 100644 (file)
@@ -1110,7 +1110,7 @@ void stack_trace()
                char buf[1000];
                *buf = '\0';
                while (fgets(buf, sizeof(buf), bpipe->rfd)) {
-                  Pmsg1(000, "    %s\n", buf);
+                  Pmsg1(000, "    %s", buf);
                }
                if (close_bpipe(bpipe) == 0) {
                   ok = true;