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 fa297f9183..e66d97ff33 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_errno(-r, "Failed to setup namespace: %m");
+ log_error_errno(r, "Failed to setup namespace: %m");
return 1;
}