summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/proc.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-01-28 10:44:30 +0000
committernicm <nicm@openbsd.org>2020-01-28 10:44:30 +0000
commit55bde1469dd533868ffb94045630288832b96a01 (patch)
treeab8fbfff92934e79ef65e6196762202efb9327dd /usr.bin/tmux/proc.c
parentParse '==' without error in filters. (diff)
downloadwireguard-openbsd-55bde1469dd533868ffb94045630288832b96a01.tar.xz
wireguard-openbsd-55bde1469dd533868ffb94045630288832b96a01.zip
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 'usr.bin/tmux/proc.c')
-rw-r--r--usr.bin/tmux/proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/proc.c b/usr.bin/tmux/proc.c
index 82891d27357..2192f0422a7 100644
--- a/usr.bin/tmux/proc.c
+++ b/usr.bin/tmux/proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.c,v 1.15 2017/07/14 18:49:07 nicm Exp $ */
+/* $OpenBSD: proc.c,v 1.16 2020/01/28 10:44:30 nicm Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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());