We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fbf9fa4 + b956ae3 commit 494d83cCopy full SHA for 494d83c
src/libstd/sys/vxworks/fs.rs
@@ -529,7 +529,7 @@ pub fn stat(p: &Path) -> io::Result<FileAttr> {
529
let p = cstr(p)?;
530
let mut stat: stat64 = unsafe { mem::zeroed() };
531
cvt(unsafe {
532
- libc::lstat(p.as_ptr(), &mut stat as *mut _ as *mut _)
+ libc::stat(p.as_ptr(), &mut stat as *mut _ as *mut _)
533
})?;
534
Ok(FileAttr { stat })
535
}
0 commit comments