diff options
author | 2015-11-24 21:19:46 +0000 | |
---|---|---|
committer | 2015-11-24 21:19:46 +0000 | |
commit | 0a607e68121471034e862839247963a0dc80fceb (patch) | |
tree | 0169528762bd072b6f44d383811be2d1911c10ee /usr.bin/tmux/proc.c | |
parent | Revert previous tweak, pending a more complete rewording. Discussed with (diff) | |
download | wireguard-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.c | 4 |
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, |