diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-09-14 11:17:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-14 11:17:58 +0200 |
commit | 2d88def9593b9809c71039bee67bea150ddd3598 (patch) | |
tree | bc03e083cf558d286141b24bc72c1855325efd73 /src/test/test-engine.c | |
parent | 34210af7c63640fca1fd4a09fc23b01a8cd70bf3 (diff) | |
parent | e031c227cbbe7243212ecb38a6db105a93655eae (diff) |
Merge pull request #4133 from keszybz/strerror-removal
Strerror removal and other janitorial cleanups
Diffstat (limited to 'src/test/test-engine.c')
-rw-r--r-- | src/test/test-engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-engine.c b/src/test/test-engine.c index 23da10fa1a..a651f6b683 100644 --- a/src/test/test-engine.c +++ b/src/test/test-engine.c @@ -43,7 +43,7 @@ int main(int argc, char *argv[]) { assert_se(set_unit_path(TEST_DIR) >= 0); r = manager_new(UNIT_FILE_USER, true, &m); if (MANAGER_SKIP_TEST(r)) { - printf("Skipping test: manager_new: %s\n", strerror(-r)); + log_notice_errno(r, "Skipping test: manager_new: %m"); return EXIT_TEST_SKIP; } assert_se(r >= 0); |