From c28629ce721f3d489f635994c3a6e374fa72c9d9 Mon Sep 17 00:00:00 2001 From: brian Date: Thu, 6 Jul 2000 19:51:58 +0000 Subject: Correct setproctitle() call Obtained from: OpenBSD --- usr.sbin/faithd/faithd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/faithd') diff --git a/usr.sbin/faithd/faithd.c b/usr.sbin/faithd/faithd.c index 4d4f19e..c314b74 100644 --- a/usr.sbin/faithd/faithd.c +++ b/usr.sbin/faithd/faithd.c @@ -381,7 +381,7 @@ play_service(int s_wld) * Wait, accept, fork, faith.... */ again: - setproctitle(procname); + setproctitle("%s", procname); FD_ZERO(&rfds); FD_SET(s_wld, &rfds); -- cgit v1.1