diff --git a/src/unix/mod.rs b/src/unix/mod.rs index c56246a32a002222df3866ad259b27d97d08695a..ebc209525d496b3a66e8e715be9ab597e95b18a1 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -411,7 +411,7 @@ extern { pub fn flock(fd: ::c_int, operation: ::c_int) -> ::c_int; - #[cfg_attr(arget_os = "netbsd", link_name = "__gettimeofday50")] + #[cfg_attr(target_os = "netbsd", link_name = "__gettimeofday50")] pub fn gettimeofday(tp: *mut ::timeval, tz: *mut ::c_void) -> ::c_int;