about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-10-08 18:55:48 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-10-08 18:55:48 +0200
commit25465ee0370096a138e670e7fad26d5de8926ffb (patch)
treede191713cb7383635ec8d81a338e33671dfe20e0
parent32036901707cc86e16b8d9f65bb4686a9bbb0a5c (diff)
downloadglibc-25465ee0370096a138e670e7fad26d5de8926ffb.tar.gz
glibc-25465ee0370096a138e670e7fad26d5de8926ffb.tar.xz
glibc-25465ee0370096a138e670e7fad26d5de8926ffb.zip
posix/tst-wordexp-nocmd: Fix diagnostics output in test
-rw-r--r--ChangeLog4
-rw-r--r--posix/tst-wordexp-nocmd.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6452bea35d..7befd8e79c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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.
 	* posix/wordexp-test.c (__app_register_atfork): Remove function.
 	(registered_forks): Remove variable.
diff --git a/posix/tst-wordexp-nocmd.c b/posix/tst-wordexp-nocmd.c
index b2f64c819f..cb6033e15f 100644
--- a/posix/tst-wordexp-nocmd.c
+++ b/posix/tst-wordexp-nocmd.c
@@ -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