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
This commit is contained in:
bors 2021-03-30 20:40:02 +00:00
commit 10d99b96e0
1 changed files with 1 additions and 1 deletions

View File

@ -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,