]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
posix/tst-wordexp-nocmd: Fix diagnostics output in test
authorFlorian Weimer <fweimer@redhat.com>
Tue, 8 Oct 2019 16:55:48 +0000 (18:55 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 8 Oct 2019 16:55:48 +0000 (18:55 +0200)
ChangeLog
posix/tst-wordexp-nocmd.c

index 6452bea35d8165edb96e13ad5b4a7f4b396d0018..7befd8e79c8b34bf7e7e71239603f1eae5619bdb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-10-08  Florian Weimer  <fweimer@redhat.com>
+
+       * posix/tst-wordexp-nocmd.c (do_test): Fix diagnostics output.
+
 2019-10-08  Florian Weimer  <fweimer@redhat.com>
 
        * posix/Makefile (tests): Add tst-wordexp-nocmd.
index b2f64c819fdfebd9b30d040a05cbe72630bc9f5a..cb6033e15f4b58449955e126552a526c1636a9a1 100644 (file)
@@ -161,12 +161,12 @@ do_test (void)
 
 #ifdef CLONE_NEWPID
   if (unshare (CLONE_NEWPID) != 0)
-    printf ("warning: unshare (CLONE_NEW_PID) failed: %m\n"
+    printf ("warning: unshare (CLONE_NEWPID) failed: %m\n"
             "warning: This leads to reduced test coverage.\n");
   else
     pid_tests_supported = true;
 #else
-  printf ("warning: CLONE_NEW_PID not available.\n"
+  printf ("warning: CLONE_NEWPID not available.\n"
           "warning: This leads to reduced test coverage.\n");
 #endif