diff mbox series

[committed] libgomp: Add tailing \n to gomp_debug

Message ID 8aab8a6a-5577-cde1-0278-1279c9ca5078@codesourcery.com
State New
Headers show
Series [committed] libgomp: Add tailing \n to gomp_debug | expand

Commit Message

Tobias Burnus July 12, 2022, 9:18 a.m. UTC
A recently added gomp_debug (for 'requires') missed a tailing '\n'. I
missed to add it, when changing gomp_warning (which always outputs an
'\n') to gomp_debug.

Committed as r13-1613-g220bef460153a0296e947f16492d35e67b1b5b22

Tobias
-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955
diff mbox series

Patch

commit 220bef460153a0296e947f16492d35e67b1b5b22
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Tue Jul 12 11:10:50 2022 +0200

    libgomp: Add tailing \n to gomp_debug
    
    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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgomp/target.c b/libgomp/target.c
index 86f9d3050d9..135db1d88ab 100644
--- a/libgomp/target.c
+++ b/libgomp/target.c
@@ -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);
 		  }
 	      }