From: Andreas Schwab Date: Wed, 8 Jun 2022 13:25:26 +0000 (+0200) Subject: elf: add missing newlines in lateglobal test X-Git-Tag: glibc-2.36~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2f39be490150aa748bc74d78d7ee122188a30cf;p=thirdparty%2Fglibc.git elf: add missing newlines in lateglobal test --- diff --git a/elf/lateglobal.c b/elf/lateglobal.c index 4a1a7cd085b..d3cbb3f4b94 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); }