mirror of
https://passt.top/passt
synced 2025-05-28 04:17:20 +02:00
util: Rename write_pidfile() to pidfile_write()
As I'm adding pidfile_open() in the next patch. The function comment didn't match, by the way. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
This commit is contained in:
parent
cbca08cd38
commit
57d8aa8ffe
3 changed files with 5 additions and 5 deletions
2
passt.c
2
passt.c
|
@ -317,7 +317,7 @@ int main(int argc, char **argv)
|
|||
if (!c.foreground)
|
||||
__daemon(pidfile_fd, devnull_fd);
|
||||
else
|
||||
write_pidfile(pidfile_fd, getpid());
|
||||
pidfile_write(pidfile_fd, getpid());
|
||||
|
||||
if (pasta_child_pid)
|
||||
kill(pasta_child_pid, SIGUSR1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue