aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2014-03-07 16:05:29 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2014-03-07 16:05:29 +0000
commitb1a87b2ee49028f7a35bc39db47833a82cd74e38 (patch)
tree100e56ef049c03191316f7365ddf9bd460558133 /tmux.c
parentc5a30513edc6f108b6387ee9cf6f1cb9dc7a674c (diff)
downloadrtmux-b1a87b2ee49028f7a35bc39db47833a82cd74e38.tar.gz
rtmux-b1a87b2ee49028f7a35bc39db47833a82cd74e38.tar.bz2
rtmux-b1a87b2ee49028f7a35bc39db47833a82cd74e38.zip
Remove log_debug2 as well and simplify log.c.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index a804e6f7..7374dd5d 100644
--- a/tmux.c
+++ b/tmux.c
@@ -73,7 +73,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);
}
}