Correct setproctitle() call
Obtained from: OpenBSD
This commit is contained in:
parent
e6a801c19b
commit
458cef74eb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user