summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/proc.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-11-24 21:19:46 +0000
committernicm <nicm@openbsd.org>2015-11-24 21:19:46 +0000
commit0a607e68121471034e862839247963a0dc80fceb (patch)
tree0169528762bd072b6f44d383811be2d1911c10ee /usr.bin/tmux/proc.c
parentRevert previous tweak, pending a more complete rewording. Discussed with (diff)
downloadwireguard-openbsd-0a607e68121471034e862839247963a0dc80fceb.tar.xz
wireguard-openbsd-0a607e68121471034e862839247963a0dc80fceb.zip
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,