public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] elf: add missing newlines in lateglobal test
@ 2022-06-08 13:29 Andreas Schwab
  0 siblings, 0 replies; only message in thread
From: Andreas Schwab @ 2022-06-08 13:29 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c2f39be490150aa748bc74d78d7ee122188a30cf

commit c2f39be490150aa748bc74d78d7ee122188a30cf
Author: Andreas Schwab <schwab@suse.de>
Date:   Wed Jun 8 15:25:26 2022 +0200

    elf: add missing newlines in lateglobal test

Diff:
---
 elf/lateglobal.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/elf/lateglobal.c b/elf/lateglobal.c
index 4a1a7cd085..d3cbb3f4b9 100644
--- a/elf/lateglobal.c
+++ b/elf/lateglobal.c
@@ -15,14 +15,14 @@ main (void)
   h[0] = dlopen ("ltglobmod1.so", RTLD_LAZY);
   if (h[0] == NULL)
     {
-      printf ("%s: cannot open %s: %s",
+      printf ("%s: cannot open %s: %s\n",
 	      __FUNCTION__, "ltglobmod1.so", dlerror ());
       exit (EXIT_FAILURE);
     }
   h[1] = dlopen ("ltglobmod2.so", RTLD_LAZY);
   if (h[1] == NULL)
     {
-      printf ("%s: cannot open %s: %s",
+      printf ("%s: cannot open %s: %s\n",
 	      __FUNCTION__, "ltglobmod2.so", dlerror ());
       exit (EXIT_FAILURE);
     }
@@ -32,7 +32,7 @@ main (void)
   fp = dlsym (h[1], "foo");
   if (fp == NULL)
     {
-      printf ("cannot get address of `foo': %s", dlerror ());
+      printf ("cannot get address of `foo': %s\n", dlerror ());
       exit (EXIT_FAILURE);
     }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-08 13:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 13:29 [glibc] elf: add missing newlines in lateglobal test Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).