]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/coredump/stacktrace.c
Add SPDX license identifiers to source files under the LGPL
[thirdparty/systemd.git] / src / coredump / stacktrace.c
index 778bee9b12956e3a818703da6ae8b4882804dd94..d37ffae02091870a43ca5a1b452bced988f34e3e 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
 /***
   This file is part of systemd.
 
@@ -107,7 +108,7 @@ static int thread_callback(Dwfl_Thread *thread, void *userdata) {
                 return DWARF_CB_ABORT;
 
         if (c->n_thread != 0)
-                fputc('\n', c->f);
+                fputc_unlocked('\n', c->f);
 
         c->n_frame = 0;