1
0
Fork 0
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:
Stefano Brivio 2024-05-22 19:52:54 +02:00
parent cbca08cd38
commit 57d8aa8ffe
3 changed files with 5 additions and 5 deletions

View file

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