From d159acff2e0527346b3cf3495c533c52c41f5a65 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Thu, 25 Sep 2014 09:44:08 +0200 Subject: [PATCH] Fix typo (and macos build?) --- src/uptime/uptime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uptime/uptime.rs b/src/uptime/uptime.rs index feb151fdd..772b077b4 100644 --- a/src/uptime/uptime.rs +++ b/src/uptime/uptime.rs @@ -44,7 +44,7 @@ extern { fn endutxent(); #[cfg(target_os = "linux")] - #[cfg(target_os = "macs")] + #[cfg(target_os = "macos")] fn utmpxname(file: *const c_char) -> c_int; }