about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2022-06-08 15:25:26 +0200
committerAndreas Schwab <schwab@suse.de>2022-06-08 15:28:41 +0200
commitc2f39be490150aa748bc74d78d7ee122188a30cf (patch)
treee11839bb4538b5c0315a725c2c5a644896b99d32
parentc7d36dcecc08a29825175f65c4ee873ff3177a23 (diff)
downloadglibc-c2f39be490150aa748bc74d78d7ee122188a30cf.tar.gz
glibc-c2f39be490150aa748bc74d78d7ee122188a30cf.tar.xz
glibc-c2f39be490150aa748bc74d78d7ee122188a30cf.zip
elf: add missing newlines in lateglobal test
-rw-r--r--elf/lateglobal.c6
1 files 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);
     }