summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2015-03-10 11:49:58 -0700
committerCarl Lerche <me@carllerche.com>2015-03-10 11:49:58 -0700
commit67d6580d2c41c584d375ca57a67405fe8f5b4339 (patch)
tree1a0a086f299f0ab08aa82d58a2e418f69dbd8d95 /src
parent5d7f9c618655472654b79eeb22a9d13ec89035e7 (diff)
downloadnix-67d6580d2c41c584d375ca57a67405fe8f5b4339.zip
Track Rust nightlies
Diffstat (limited to 'src')
-rw-r--r--src/sys/socket/addr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/socket/addr.rs b/src/sys/socket/addr.rs
index 2ebb5d88..26d6349e 100644
--- a/src/sys/socket/addr.rs
+++ b/src/sys/socket/addr.rs
@@ -329,7 +329,7 @@ impl UnixAddr {
return Err(NixError::Sys(Errno::ENAMETOOLONG));
}
- ptr::copy_memory(
+ ptr::copy(
ret.sun_path.as_mut_ptr(),
bytes.as_ptr() as *const i8,
bytes.len());