Fixed a typo in the #[cfg()] of gettimeofday.

The #[cfg()] was looking for 'arget_os' instead of 'target_os'.
This commit is contained in:
Jason Travis Smith 2016-02-06 05:46:41 -05:00
parent 379e92f27e
commit 270c7d4a07

View File

@ -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;