summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/proc.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-11-24 21:19:47 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-11-24 21:19:47 +0000
commit78f27fe459376e790db79833621e7889ed8f90a3 (patch)
treee0edfcbd72115c8599956fcf5d59536b9743a5f1 /usr.bin/tmux/proc.c
parent3bb8736a035231461532fc3569b67eb3f792bf89 (diff)
Make the log stuff a bit tidier with some helper functions.
Diffstat (limited to 'usr.bin/tmux/proc.c')
-rw-r--r--usr.bin/tmux/proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/proc.c b/usr.bin/tmux/proc.c
index 9ba65c04f88..68decb66aef 100644
--- a/usr.bin/tmux/proc.c
+++ b/usr.bin/tmux/proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.c,v 1.4 2015/11/18 14:27:44 nicm Exp $ */
+/* $OpenBSD: proc.c,v 1.5 2015/11/24 21:19:46 nicm Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -188,7 +188,7 @@ proc_start(const char *name, struct event_base *base, int forkflag,
fatalx("event_reinit failed");
}
- logfile(name);
+ log_open(name);
setproctitle("%s (%s)", name, socket_path);
log_debug("%s started (%ld): socket %s, protocol %d", name,