summaryrefslogtreecommitdiffstats
path: root/proc.c
diff options
context:
space:
mode:
authornicm <nicm>2020-01-28 10:44:30 +0000
committernicm <nicm>2020-01-28 10:44:30 +0000
commitf165221dc4641837ee9f589bb666d310a495904c (patch)
tree803a9772a19610a93f444718119195863442b2b8 /proc.c
parent32816eaebd4ccd712cc7f7291a587146d122a9ff (diff)
Reduce a difference with portable tmux by adding the -V flag and
#{version} format; on OpenBSD these just report the OpenBSD version.
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proc.c b/proc.c
index 48e0d90c..3fc190a2 100644
--- a/proc.c
+++ b/proc.c
@@ -182,8 +182,8 @@ proc_start(const char *name)
if (uname(&u) < 0)
memset(&u, 0, sizeof u);
- log_debug("%s started (%ld): socket %s, protocol %d", name,
- (long)getpid(), socket_path, PROTOCOL_VERSION);
+ log_debug("%s started (%ld): version %s, socket %s, protocol %d", name,
+ (long)getpid(), getversion(), socket_path, PROTOCOL_VERSION);
log_debug("on %s %s %s; libevent %s (%s)", u.sysname, u.release,
u.version, event_get_version(), event_get_method());