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

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