1
0
mirror of https://passt.top/passt synced 2024-06-30 06:52:40 +00:00

util: Fix function declaration style of write_pidfile()

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-03-25 12:28:41 +01:00
parent 415ccf6116
commit 3e4c2d1098

3
util.c
View File

@ -544,7 +544,8 @@ int ns_enter(struct ctx *c)
* @fd: Open PID file descriptor, closed on exit, -1 to skip writing it
* @pid: PID value to write
*/
void write_pidfile(int fd, pid_t pid) {
void write_pidfile(int fd, pid_t pid)
{
char pid_buf[12];
int n;