Skip to content

Commit 06a14f1

Browse files
committed
Fix test
1 parent 69b9eab commit 06a14f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/tests/pass-dep/libc/libc-fs-symlink.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ fn test_nofollow_symlink() {
6666

6767
let ret = unsafe { libc::open(symlink_cpath.as_ptr(), libc::O_NOFOLLOW | libc::O_CLOEXEC) };
6868
assert_eq!(ret, -1);
69-
let err = io::Error::last_os_error().raw_os_error().unwrap();
69+
let err = Error::last_os_error().raw_os_error().unwrap();
7070
assert_eq!(err, libc::ELOOP);
7171
}

0 commit comments

Comments
 (0)