]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgomp: Add tailing \n to gomp_debug
authorTobias Burnus <tobias@codesourcery.com>
Tue, 12 Jul 2022 09:10:50 +0000 (11:10 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 12 Jul 2022 09:10:50 +0000 (11:10 +0200)
Contrary to gomp_{error,warning,fatal}, no tailing '\n' is added with
gomp_debug; only affected was a 'requires'-related output.

libgomp/ChangeLog:

* target.c (gomp_target_init): Added tailing '\n' to gomp_debug.

libgomp/target.c

index 86f9d3050d908664ffe2920b56cd7eb5160be5de..135db1d88abf23fedb96ada3583479f792e3379a 100644 (file)
@@ -4212,7 +4212,7 @@ gomp_target_init (void)
                    name[cur_len] = '\0';
                    gomp_debug (1,
                                "%s devices present but 'omp requires %s' "
-                               "cannot be fulfilled", name, buf);
+                               "cannot be fulfilled\n", name, buf);
                    free (name);
                  }
              }