summaryrefslogtreecommitdiff
path: root/src/test/test-capability.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-capability.c')
-rw-r--r--src/test/test-capability.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-capability.c b/src/test/test-capability.c
index a362fc6c57..43769923b0 100644
--- a/src/test/test-capability.c
+++ b/src/test/test-capability.c
@@ -70,7 +70,7 @@ static int setup_tests(void) {
nobody = getpwnam("nobody");
if (!nobody) {
- log_error("Could not find nobody user: %m");
+ log_error_errno(errno, "Could not find nobody user: %m");
return -EXIT_TEST_SKIP;
}
test_uid = nobody->pw_uid;