From 25465ee0370096a138e670e7fad26d5de8926ffb Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 8 Oct 2019 18:55:48 +0200 Subject: [PATCH] posix/tst-wordexp-nocmd: Fix diagnostics output in test --- ChangeLog | 4 ++++ posix/tst-wordexp-nocmd.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6452bea35d..7befd8e79c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2019-10-08 Florian Weimer + + * posix/tst-wordexp-nocmd.c (do_test): Fix diagnostics output. + 2019-10-08 Florian Weimer * posix/Makefile (tests): Add tst-wordexp-nocmd. 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