From 458cef74eb9a816b63d9f5103faa45d20225b8eb Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Thu, 6 Jul 2000 19:51:58 +0000 Subject: [PATCH] Correct setproctitle() call Obtained from: OpenBSD --- usr.sbin/faithd/faithd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/faithd/faithd.c b/usr.sbin/faithd/faithd.c index 4d4f19ec1ebd..c314b74bea49 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);