diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2024-05-22 19:52:54 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-05-23 16:43:05 +0200 |
commit | 57d8aa8ffefcc226c5c3179e4a8d346cbe61e865 (patch) | |
tree | dd9c1aba1c7595f58672b7a0cd63bded13fcc2ae /util.h | |
parent | cbca08cd38787559cfbe06756597b04ae97fe6ff (diff) | |
download | passt-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 'util.h')
-rw-r--r-- | util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -156,7 +156,7 @@ char *line_read(char *buf, size_t len, int fd); void ns_enter(const struct ctx *c); bool ns_is_init(void); int open_in_ns(const struct ctx *c, const char *path, int flags); -void write_pidfile(int fd, pid_t pid); +void pidfile_write(int fd, pid_t pid); int __daemon(int pidfile_fd, int devnull_fd); int fls(unsigned long x); int write_file(const char *path, const char *buf); |