Reduce a difference with portable tmux by adding the -V flag and

#{version} format; on OpenBSD these just report the OpenBSD version.
This commit is contained in:
nicm
2020-01-28 10:44:30 +00:00
parent 32816eaebd
commit f165221dc4
5 changed files with 30 additions and 4 deletions

4
proc.c
View File

@ -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());