aboutsummaryrefslogtreecommitdiff
path: root/slave.c
diff options
context:
space:
mode:
Diffstat (limited to 'slave.c')
-rw-r--r--slave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slave.c b/slave.c
index 9cf49cfa..b826411f 100644
--- a/slave.c
+++ b/slave.c
@@ -269,7 +269,7 @@ slave_spawn(int ptmx, int argc, const char *cwd, char *const *argv,
if (chdir(cwd) < 0) {
const int errno_copy = errno;
- LOG_ERRNO("failed to change working directory");
+ LOG_ERRNO("failed to change working directory to %s", cwd);
(void)!write(fork_pipe[1], &errno_copy, sizeof(errno_copy));
_exit(errno_copy);
}