Correct setproctitle() call

Obtained from: OpenBSD
This commit is contained in:
brian 2000-07-06 19:51:58 +00:00
parent 0dca3ea5d5
commit c28629ce72

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