diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-03-25 12:28:41 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-03-29 15:35:38 +0200 |
commit | 3e4c2d10985027775683255e5d5fef5149ef8e0b (patch) | |
tree | e8b76c8875960a72b0fa6b0918eb7f742c51a4b9 | |
parent | 415ccf6116c496aab173ee9548089fe69ccf8f5f (diff) | |
download | passt-3e4c2d10985027775683255e5d5fef5149ef8e0b.tar passt-3e4c2d10985027775683255e5d5fef5149ef8e0b.tar.gz passt-3e4c2d10985027775683255e5d5fef5149ef8e0b.tar.bz2 passt-3e4c2d10985027775683255e5d5fef5149ef8e0b.tar.lz passt-3e4c2d10985027775683255e5d5fef5149ef8e0b.tar.xz passt-3e4c2d10985027775683255e5d5fef5149ef8e0b.tar.zst passt-3e4c2d10985027775683255e5d5fef5149ef8e0b.zip |
util: Fix function declaration style of write_pidfile()
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r-- | util.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |