summaryrefslogtreecommitdiffstats
path: root/src/test/test-execute.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-09-12 20:55:34 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-09-14 02:10:57 +0200
commit9eec7d12eda398fbc4a1db880bd4a13bc1c58db4 (patch)
treec4c251f5d943cb7bd65c6caa3bcd6399af97350c /src/test/test-execute.c
parenttree-wide: use %m in calls to sd_bus_error_set_errnof (diff)
downloadsystemd-9eec7d12eda398fbc4a1db880bd4a13bc1c58db4.tar.xz
systemd-9eec7d12eda398fbc4a1db880bd4a13bc1c58db4.zip
tests: get rid of strerror
Diffstat (limited to 'src/test/test-execute.c')
-rw-r--r--src/test/test-execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-execute.c b/src/test/test-execute.c
index 05ec1d2eb1..1db7f78041 100644
--- a/src/test/test-execute.c
+++ b/src/test/test-execute.c
@@ -324,7 +324,7 @@ static int run_tests(UnitFileScope scope, test_function_t *tests) {
r = manager_new(scope, true, &m);
if (MANAGER_SKIP_TEST(r)) {
- printf("Skipping test: manager_new: %s\n", strerror(-r));
+ log_notice_errno(r, "Skipping test: manager_new: %n");
return EXIT_TEST_SKIP;
}
assert_se(r >= 0);