Skip to content

Commit 1aecc4e

Browse files
committed
Fix tests on Linux
1 parent 5ecb5da commit 1aecc4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_unistd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ fn test_lseek64() {
206206
tmp.write(CONTENTS).unwrap();
207207
let tmpfd = tmp.into_raw_fd();
208208

209-
lseek64(tmp.as_raw_fd(), 5, Whence::SeekSet).unwrap();
209+
lseek64(tmpfd, 5, Whence::SeekSet).unwrap();
210210

211211
let mut buf = [0u8; 7];
212212
::read_exact(tmpfd, &mut buf);

0 commit comments

Comments
 (0)