diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2015-10-10 11:51:16 -0700 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2015-10-27 00:05:44 -0700 |
commit | 293b2a0e21032c8d9b997020c326ba2e7422672b (patch) | |
tree | 7b3216f476a7727a23e67f5d4f7117f55d4fbd31 /src/unistd.rs | |
parent | ac0750628879719b216e04f9248df8f5a5d10b4b (diff) | |
download | nix-293b2a0e21032c8d9b997020c326ba2e7422672b.zip |
Fix some comments
Diffstat (limited to 'src/unistd.rs')
-rw-r--r-- | src/unistd.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unistd.rs b/src/unistd.rs index 5af84c93..d93355d6 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -54,11 +54,11 @@ mod ffi { pub fn gethostname(name: *mut c_char, len: size_t) -> c_int; // gets the hostname - // doc: http://man7.org/linux/man-pages/man2/gethostname.2.html + // doc: http://man7.org/linux/man-pages/man2/sethostname.2.html pub fn sethostname(name: *const c_char, len: size_t) -> c_int; // change root directory - // doc: http://man7.org/linux/man-pages/man2/gethostname.2.html + // doc: http://man7.org/linux/man-pages/man2/chroot.2.html pub fn chroot(path: *const c_char) -> c_int; } } |