From 78f27fe459376e790db79833621e7889ed8f90a3 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 24 Nov 2015 21:19:47 +0000 Subject: Make the log stuff a bit tidier with some helper functions. --- usr.bin/tmux/proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/tmux/proc.c') 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 @@ -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, -- cgit v1.2.3