Do not printf NULL.

pull/1545/head
nicm 2018-10-28 16:10:02 +00:00
parent 65dd7345e0
commit d5b92ac37e
1 changed files with 1 additions and 1 deletions

2
job.c
View File

@ -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