Put version in log in portable tmux.

pull/727/head
Nicholas Marriott 2017-01-18 17:35:41 +00:00
parent 7e4908f751
commit b98b4e23a3
1 changed files with 2 additions and 2 deletions

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