aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pty_process_unix.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-04-09 09:48:35 -0400
committerGitHub <noreply@github.com>2021-04-09 09:48:35 -0400
commite3d0fb0d3cdc09a716e925627ca0da47224e1390 (patch)
treee97e81b57b57d9a845f897333e61d1c440bfe9eb /src/nvim/os/pty_process_unix.c
parent8a1a256b44f7fe9f0d878d4d28d7f41f8157c4ea (diff)
parent6a03bcc3c2f65f376b14d2dbef6ade8fc483bf26 (diff)
downloadrneovim-e3d0fb0d3cdc09a716e925627ca0da47224e1390.tar.gz
rneovim-e3d0fb0d3cdc09a716e925627ca0da47224e1390.tar.bz2
rneovim-e3d0fb0d3cdc09a716e925627ca0da47224e1390.zip
Merge pull request #14321 from jamessan/ci-fixes
Some small cleanups/diagnostic improvements
Diffstat (limited to 'src/nvim/os/pty_process_unix.c')
-rw-r--r--src/nvim/os/pty_process_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/os/pty_process_unix.c b/src/nvim/os/pty_process_unix.c
index d794969ab5..36d6dbe2db 100644
--- a/src/nvim/os/pty_process_unix.c
+++ b/src/nvim/os/pty_process_unix.c
@@ -175,7 +175,7 @@ static void init_child(PtyProcess *ptyproc)
Process *proc = (Process *)ptyproc;
if (proc->cwd && os_chdir(proc->cwd) != 0) {
- ELOG("chdir failed: %s", strerror(errno));
+ ELOG("chdir(%s) failed: %s", proc->cwd, strerror(errno));
return;
}
@@ -184,7 +184,7 @@ static void init_child(PtyProcess *ptyproc)
assert(proc->env);
environ = tv_dict_to_env(proc->env);
execvp(prog, proc->argv);
- ELOG("execvp failed: %s: %s", strerror(errno), prog);
+ ELOG("execvp(%s) failed: %s", prog, strerror(errno));
_exit(122); // 122 is EXEC_FAILED in the Vim source.
}