summaryrefslogtreecommitdiff
path: root/src/test/test-ns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-ns.c')
-rw-r--r--src/test/test-ns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-ns.c b/src/test/test-ns.c
index 7714e49ad9..fa297f9183 100644
--- a/src/test/test-ns.c
+++ b/src/test/test-ns.c
@@ -65,7 +65,7 @@ int main(int argc, char *argv[]) {
PROTECT_SYSTEM_NO,
0);
if (r < 0) {
- log_error("Failed to setup namespace: %s", strerror(-r));
+ log_error_errno(-r, "Failed to setup namespace: %m");
return 1;
}