diff options
author | Andre Nathan <andre@digirati.com.br> | 2020-03-18 11:56:22 -0300 |
---|---|---|
committer | Andre Nathan <andre@digirati.com.br> | 2020-03-18 11:56:22 -0300 |
commit | ef01f462545ed814fa01028ed2ef206ba4ec2b41 (patch) | |
tree | 6595502609e8d1a963fc44e3dbf43821eb32eafe | |
parent | 82521425eece08005e371ba1e7f0e8c7ba3e554f (diff) | |
download | nix-ef01f462545ed814fa01028ed2ef206ba4ec2b41.zip |
Add missing libc::flock fields in mips
-rw-r--r-- | test/test_fcntl.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_fcntl.rs b/test/test_fcntl.rs index 3f69efe8..b6f99320 100644 --- a/test/test_fcntl.rs +++ b/test/test_fcntl.rs @@ -213,6 +213,10 @@ mod linux_android { l_start: 0, l_len: 0, l_pid: 0, + #[cfg(target_arch="mips")] + l_sysid: 0, + #[cfg(target_arch="mips")] + pad: 0, }; fcntl(fd, FcntlArg::F_OFD_SETLKW(&flock)).unwrap(); assert_eq!(Some(("OFDLCK".to_string(), "WRITE".to_string())), lock_info(inode)); |