summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2014-03-31 21:42:45 +0000
committernicm <nicm@openbsd.org>2014-03-31 21:42:45 +0000
commit46b1c757e165bd5a5b68a6eb8974ce02ea335358 (patch)
tree1c6d35b78ef6a4931493f68732c781f637704304 /usr.bin/tmux/tmux.c
parentGRID_DEBUG is no longer needed. (diff)
downloadwireguard-openbsd-46b1c757e165bd5a5b68a6eb8974ce02ea335358.tar.xz
wireguard-openbsd-46b1c757e165bd5a5b68a6eb8974ce02ea335358.zip
Remove log_debug2 as well and simplify log.c.
Diffstat (limited to 'usr.bin/tmux/tmux.c')
-rw-r--r--usr.bin/tmux/tmux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c
index bac0e42127b..457d0f4497e 100644
--- a/usr.bin/tmux/tmux.c
+++ b/usr.bin/tmux/tmux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.c,v 1.129 2014/02/16 12:45:17 nicm Exp $ */
+/* $OpenBSD: tmux.c,v 1.130 2014/03/31 21:42:45 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -70,7 +70,7 @@ logfile(const char *name)
if (debug_level > 0) {
xasprintf(&path, "tmux-%s-%ld.log", name, (long) getpid());
- log_open(debug_level, path);
+ log_open(path);
free(path);
}
}