diff options
author | brian <brian@FreeBSD.org> | 2000-07-06 19:51:58 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-07-06 19:51:58 +0000 |
commit | c28629ce721f3d489f635994c3a6e374fa72c9d9 (patch) | |
tree | 1932bab5abb5676285b88e0b82f7d015f6f75e41 | |
parent | 0dca3ea5d5f9b36a61b23dc10517d5aa40178ce9 (diff) | |
download | FreeBSD-src-c28629ce721f3d489f635994c3a6e374fa72c9d9.zip FreeBSD-src-c28629ce721f3d489f635994c3a6e374fa72c9d9.tar.gz |
Correct setproctitle() call
Obtained from: OpenBSD
-rw-r--r-- | usr.sbin/faithd/faithd.c | 2 |
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); |