about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorAlexander von Gluck IV <kallisti5@unixzen.com>2016-10-04 15:41:26 -0500
committerAlexander von Gluck IV <kallisti5@unixzen.com>2016-10-04 15:41:26 -0500
commit4922abfbd26c74a4bfb2d8ab5077eda7938be457 (patch)
treee34cbc41eb4f3ce3cae329341d2be784e615d077 /src/libstd/sys
parentdc9ac884195fe59c096ec356ae7b74d7f889faad (diff)
downloadrust-4922abfbd26c74a4bfb2d8ab5077eda7938be457.tar.gz
rust-4922abfbd26c74a4bfb2d8ab5077eda7938be457.zip
Haiku: Fix IPv6 target_os check
Diffstat (limited to 'src/libstd/sys')
-rw-r--r--src/libstd/sys/common/net.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/common/net.rs b/src/libstd/sys/common/net.rs
index 18280e497db..609e43e1211 100644
--- a/src/libstd/sys/common/net.rs
+++ b/src/libstd/sys/common/net.rs
@@ -29,7 +29,7 @@ use sys::net::netc::IPV6_JOIN_GROUP as IPV6_ADD_MEMBERSHIP;
 #[cfg(not(any(target_os = "dragonfly", target_os = "freebsd",
               target_os = "ios", target_os = "macos",
               target_os = "openbsd", target_os = "netbsd",
-              target_os = "solaris", taget_os = "haiku")))]
+              target_os = "solaris", target_os = "haiku")))]
 use sys::net::netc::IPV6_ADD_MEMBERSHIP;
 #[cfg(any(target_os = "dragonfly", target_os = "freebsd",
           target_os = "ios", target_os = "macos",