Skip to content

Commit

Permalink
Auto merge of #2134 - vilgotf:patch-1, r=JohnTitor
Browse files Browse the repository at this point in the history
Fix typo in swapoff

Seems no one's noticed this in 4 years... First commit for me it is :D
  • Loading branch information
bors committed Mar 30, 2021
2 parents 7705640 + cbee28b commit 10d99b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/linux_like/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3439,7 +3439,7 @@ extern "C" {
param: *const ::sched_param,
) -> ::c_int;
pub fn setns(fd: ::c_int, nstype: ::c_int) -> ::c_int;
pub fn swapoff(puath: *const ::c_char) -> ::c_int;
pub fn swapoff(path: *const ::c_char) -> ::c_int;
pub fn vmsplice(
fd: ::c_int,
iov: *const ::iovec,
Expand Down

0 comments on commit 10d99b9

Please sign in to comment.