formatting fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-01-21 16:04:18 +01:00
parent 19b78f1511
commit d6ba646c65

View File

@ -26,9 +26,7 @@ impl PidFd {
}
pub fn open(pid: pid_t) -> io::Result<Self> {
let fd = c_try!(unsafe {
libc::syscall(SYS_PIDFD_OPEN, pid, 0)
});
let fd = c_try!(unsafe { libc::syscall(SYS_PIDFD_OPEN, pid, 0) });
Ok(Self(fd as RawFd, pid))
}