diff options
author | 2018-10-28 16:10:02 +0000 | |
---|---|---|
committer | 2018-10-28 16:10:02 +0000 | |
commit | eb7587a2dab50e40288a4914bc6670ce49782a8c (patch) | |
tree | e976798ed51c693d839ca8a0bd6a7fd27233ed12 | |
parent | Do not check for a key again without an escape if only \033 is present. (diff) | |
download | wireguard-openbsd-eb7587a2dab50e40288a4914bc6670ce49782a8c.tar.xz wireguard-openbsd-eb7587a2dab50e40288a4914bc6670ce49782a8c.zip |
Do not printf NULL.
-rw-r--r-- | usr.bin/tmux/job.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/job.c b/usr.bin/tmux/job.c index 7c09420396e..edc06e141d3 100644 --- a/usr.bin/tmux/job.c +++ b/usr.bin/tmux/job.c @@ -1,4 +1,4 @@ -/* $OpenBSD: job.c,v 1.52 2018/09/27 07:43:18 nicm Exp $ */ +/* $OpenBSD: job.c,v 1.53 2018/10/28 16:10:02 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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 |