mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 13:15:05 +00:00
Correct setproctitle() call
Obtained from: OpenBSD
This commit is contained in:
parent
e6a801c19b
commit
458cef74eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62683
|
@ -381,7 +381,7 @@ play_service(int s_wld)
|
||||||
* Wait, accept, fork, faith....
|
* Wait, accept, fork, faith....
|
||||||
*/
|
*/
|
||||||
again:
|
again:
|
||||||
setproctitle(procname);
|
setproctitle("%s", procname);
|
||||||
|
|
||||||
FD_ZERO(&rfds);
|
FD_ZERO(&rfds);
|
||||||
FD_SET(s_wld, &rfds);
|
FD_SET(s_wld, &rfds);
|
||||||
|
|
Loading…
Reference in a new issue