mirror of
https://passt.top/passt
synced 2024-12-22 21:55:22 +00:00
util: Fix function declaration style of write_pidfile()
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
415ccf6116
commit
3e4c2d1098
3
util.c
3
util.c
@ -544,7 +544,8 @@ int ns_enter(struct ctx *c)
|
|||||||
* @fd: Open PID file descriptor, closed on exit, -1 to skip writing it
|
* @fd: Open PID file descriptor, closed on exit, -1 to skip writing it
|
||||||
* @pid: PID value to write
|
* @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];
|
char pid_buf[12];
|
||||||
int n;
|
int n;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user