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 e66d97ff33..7cd7b77153 100644
--- a/src/test/test-ns.c
+++ b/src/test/test-ns.c
@@ -70,7 +70,7 @@ int main(int argc, char *argv[]) {
}
execl("/bin/sh", "/bin/sh", NULL);
- log_error("execl(): %m");
+ log_error_errno(errno, "execl(): %m");
return 1;
}