Skip to content

Commit fdddbb8

Browse files
committed
style(seccomp): run hack/autofix.sh for clippy and fmt
1 parent 6069760 commit fdddbb8

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

src/seccomp.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,7 @@ impl SeccompFilter {
3333
filter: filters.as_ptr() as *mut _,
3434
};
3535

36-
let ret = unsafe {
37-
libc::syscall(
38-
libc::SYS_seccomp,
39-
1u64,
40-
1u64,
41-
&prog as *const _,
42-
)
43-
};
36+
let ret = unsafe { libc::syscall(libc::SYS_seccomp, 1u64, 1u64, &prog as *const _) };
4437
if ret != 0 {
4538
return Err(std::io::Error::last_os_error());
4639
}

0 commit comments

Comments
 (0)