summaryrefslogtreecommitdiff
path: root/usr.sbin/faithd/faithd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-07-05 17:23:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-07-05 17:23:14 +0000
commit32a8dbd3f0e90f4869432c11c4cc839c724af642 (patch)
tree4cf469c4296511e30af395ea58995baebf5b170e /usr.sbin/faithd/faithd.c
parent1092c561b68703588d763466f0ffaf58f5f64f45 (diff)
setproctitle with %s
Diffstat (limited to 'usr.sbin/faithd/faithd.c')
-rw-r--r--usr.sbin/faithd/faithd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/faithd/faithd.c b/usr.sbin/faithd/faithd.c
index 4259bdf0df8..640b6534f60 100644
--- a/usr.sbin/faithd/faithd.c
+++ b/usr.sbin/faithd/faithd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: faithd.c,v 1.6 2000/06/29 00:21:52 deraadt Exp $ */
+/* $OpenBSD: faithd.c,v 1.7 2000/07/05 17:23:13 deraadt Exp $ */
/* $KAME: faithd.c,v 1.18 2000/05/31 03:06:07 itojun Exp $ */
/*
@@ -303,7 +303,7 @@ play_service(int s_wld)
* Wait, accept, fork, faith....
*/
again:
- setproctitle(procname);
+ setproctitle("%s", procname);
FD_ZERO(&rfds);
FD_SET(s_wld, &rfds);