diff options
author | nicm <nicm> | 2018-10-28 16:10:02 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-10-28 16:10:02 +0000 |
commit | d5b92ac37e3b903150237ff319dc6e86517a08b1 (patch) | |
tree | ee621f9f1385c0695c5987e66d6707643844ca84 /job.c | |
parent | 65dd7345e069753c57f10f34a5efc56339ffbeb0 (diff) | |
download | rtmux-d5b92ac37e3b903150237ff319dc6e86517a08b1.tar.gz rtmux-d5b92ac37e3b903150237ff319dc6e86517a08b1.tar.bz2 rtmux-d5b92ac37e3b903150237ff319dc6e86517a08b1.zip |
Do not printf NULL.
Diffstat (limited to 'job.c')
-rw-r--r-- | job.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ job_run(const char *cmd, struct session *s, const char *cwd, if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, out) != 0) return (NULL); - log_debug("%s: cmd=%s, cwd=%s", __func__, cmd, cwd); + log_debug("%s: cmd=%s, cwd=%s", __func__, cmd, cwd == NULL ? "" : cwd); /* * Do not set TERM during .tmux.conf, it is nice to be able to use |