[CRIU] [PATCH] test: fix error messages
Kir Kolyshkin
kir at openvz.org
Mon Oct 19 17:28:05 PDT 2015
Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
test/zdtm/lib/test.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/zdtm/lib/test.c b/test/zdtm/lib/test.c
index 60b67d8..e5c0ed6 100644
--- a/test/zdtm/lib/test.c
+++ b/test/zdtm/lib/test.c
@@ -192,7 +192,7 @@ void test_init(int argc, char **argv)
waitpid(pid, &ret, 0);
if (WIFEXITED(ret)) {
- err("Test exited with unexpectedly with code %d\n", WEXITSTATUS(ret));
+ err("Test exited unexpectedly with code %d\n", WEXITSTATUS(ret));
exit(0);
}
if (WIFSIGNALED(ret)) {
@@ -324,7 +324,7 @@ void test_init_ns(int argc, char **argv, unsigned long clone_flags,
waitpid(pid, &ret, 0);
if (WIFEXITED(ret)) {
- err("Test exited with unexpectedly with code %d\n", WEXITSTATUS(ret));
+ err("Test exited unexpectedly with code %d\n", WEXITSTATUS(ret));
exit(0);
}
if (WIFSIGNALED(ret)) {
--
2.4.3
More information about the CRIU
mailing list