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
1 changed files with 2 additions and 1 deletions
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 a new issue