Put version in log in portable tmux.

This commit is contained in:
Nicholas Marriott 2017-01-18 17:35:41 +00:00
parent 7e4908f751
commit b98b4e23a3

4
proc.c
View File

@ -195,8 +195,8 @@ proc_start(const char *name, struct event_base *base, int forkflag,
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(), VERSION, 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());