Skip to content

Commit 10d99b9

Browse files
committed
Auto merge of #2134 - vilgotf:patch-1, r=JohnTitor
Fix typo in swapoff Seems no one's noticed this in 4 years... First commit for me it is :D
2 parents 7705640 + cbee28b commit 10d99b9

File tree

1 file changed

+1
-1
lines changed
  • src/unix/linux_like/linux

1 file changed

+1
-1
lines changed

src/unix/linux_like/linux/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3439,7 +3439,7 @@ extern "C" {
34393439
param: *const ::sched_param,
34403440
) -> ::c_int;
34413441
pub fn setns(fd: ::c_int, nstype: ::c_int) -> ::c_int;
3442-
pub fn swapoff(puath: *const ::c_char) -> ::c_int;
3442+
pub fn swapoff(path: *const ::c_char) -> ::c_int;
34433443
pub fn vmsplice(
34443444
fd: ::c_int,
34453445
iov: *const ::iovec,

0 commit comments

Comments
 (0)