aboutgitcodebugslistschat
path: root/passt.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2024-05-22 19:52:54 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-05-23 16:43:05 +0200
commit57d8aa8ffefcc226c5c3179e4a8d346cbe61e865 (patch)
treedd9c1aba1c7595f58672b7a0cd63bded13fcc2ae /passt.c
parentcbca08cd38787559cfbe06756597b04ae97fe6ff (diff)
downloadpasst-57d8aa8ffefcc226c5c3179e4a8d346cbe61e865.tar
passt-57d8aa8ffefcc226c5c3179e4a8d346cbe61e865.tar.gz
passt-57d8aa8ffefcc226c5c3179e4a8d346cbe61e865.tar.bz2
passt-57d8aa8ffefcc226c5c3179e4a8d346cbe61e865.tar.lz
passt-57d8aa8ffefcc226c5c3179e4a8d346cbe61e865.tar.xz
passt-57d8aa8ffefcc226c5c3179e4a8d346cbe61e865.tar.zst
passt-57d8aa8ffefcc226c5c3179e4a8d346cbe61e865.zip
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>
Diffstat (limited to 'passt.c')
-rw-r--r--passt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/passt.c b/passt.c
index 1df1dc4..fb9773d 100644
--- a/passt.c
+++ b/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);