summaryrefslogtreecommitdiffstats
path: root/usr.sbin/faithd
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-07-06 19:51:58 +0000
committerbrian <brian@FreeBSD.org>2000-07-06 19:51:58 +0000
commitc28629ce721f3d489f635994c3a6e374fa72c9d9 (patch)
tree1932bab5abb5676285b88e0b82f7d015f6f75e41 /usr.sbin/faithd
parent0dca3ea5d5f9b36a61b23dc10517d5aa40178ce9 (diff)
downloadFreeBSD-src-c28629ce721f3d489f635994c3a6e374fa72c9d9.zip
FreeBSD-src-c28629ce721f3d489f635994c3a6e374fa72c9d9.tar.gz
Correct setproctitle() call
Obtained from: OpenBSD
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 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);
OpenPOWER on IntegriCloud