Correct setproctitle() call

Obtained from: OpenBSD
This commit is contained in:
Brian Somers 2000-07-06 19:51:58 +00:00
parent e6a801c19b
commit 458cef74eb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62683

View file

@ -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);