]> git.proxmox.com Git - pve-lxc-syscalld.git/commitdiff
formatting fixup
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 21 Jan 2020 15:04:18 +0000 (16:04 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 21 Jan 2020 15:04:18 +0000 (16:04 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/process/pid_fd.rs

index cc404f43896b4890d4ac5eed91b2bba5ef07ef34..41aa3ee84d728f093bf1ceaf1c3493e7506516a9 100644 (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))
     }