summary refs log tree commit diff
path: root/posix
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 /posix
parent32036901707cc86e16b8d9f65bb4686a9bbb0a5c (diff)
downloadglibc-25465ee0370096a138e670e7fad26d5de8926ffb.tar.gz
glibc-25465ee0370096a138e670e7fad26d5de8926ffb.tar.xz
glibc-25465ee0370096a138e670e7fad26d5de8926ffb.zip
posix/tst-wordexp-nocmd: Fix diagnostics output in test
Diffstat (limited to 'posix')
-rw-r--r--posix/tst-wordexp-nocmd.c4
1 files changed, 2 insertions, 2 deletions
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