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 a64ee24718
commit aafab85e30

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;