Skip to content

Commit cbee28b

Browse files
authored
Fix typo in swapoff
1 parent 7705640 commit cbee28b

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)