aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/faithd
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2000-07-06 19:51:58 +0000
committerBrian Somers <brian@FreeBSD.org>2000-07-06 19:51:58 +0000
commit458cef74eb9a816b63d9f5103faa45d20225b8eb (patch)
treed514dfe3d5908f543482622991e426b241cf4e2f /usr.sbin/faithd
parente6a801c19b8ac62bf321b6cca55b110b2bf5b2b6 (diff)
downloadsrc-458cef74eb9a816b63d9f5103faa45d20225b8eb.tar.gz
src-458cef74eb9a816b63d9f5103faa45d20225b8eb.zip
Correct setproctitle() call
Obtained from: OpenBSD
Notes
Notes: svn path=/head/; revision=62683
Diffstat (limited to 'usr.sbin/faithd')
-rw-r--r--usr.sbin/faithd/faithd.c2
1 files changed, 1 insertions, 1 deletions
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);