Skip to content

Commit e8f1af4

Browse files
authored
Merge pull request #4265 from 0-wiz-0/master
NetBSD: fix getmntinfo for NetBSD
2 parents 780f817 + e1e9d97 commit e8f1af4

File tree

1 file changed

+1
-1
lines changed
  • src/unix/bsd/netbsdlike/netbsd

1 file changed

+1
-1
lines changed

src/unix/bsd/netbsdlike/netbsd/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2849,7 +2849,7 @@ extern "C" {
28492849
ntargets: size_t,
28502850
hint: *const c_void,
28512851
) -> c_int;
2852-
2852+
#[link_name = "__getmntinfo13"]
28532853
pub fn getmntinfo(mntbufp: *mut *mut crate::statvfs, flags: c_int) -> c_int;
28542854
pub fn getvfsstat(buf: *mut statvfs, bufsize: size_t, flags: c_int) -> c_int;
28552855
}

0 commit comments

Comments
 (0)