Skip to content

Commit 92d4133

Browse files
authored
Fix name of some syscalls in docs (#304)
1 parent c884322 commit 92d4133

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/opcode.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,7 +1354,7 @@ opcode! {
13541354
// === 5.15 ===
13551355

13561356
opcode! {
1357-
/// Make a directory, equivalent to `mkdirat2(2)`.
1357+
/// Make a directory, equivalent to `mkdirat(2)`.
13581358
pub struct MkDirAt {
13591359
dirfd: { impl sealed::UseFd },
13601360
pathname: { *const libc::c_char },
@@ -1377,7 +1377,7 @@ opcode! {
13771377
}
13781378

13791379
opcode! {
1380-
/// Create a symlink, equivalent to `symlinkat2(2)`.
1380+
/// Create a symlink, equivalent to `symlinkat(2)`.
13811381
pub struct SymlinkAt {
13821382
newdirfd: { impl sealed::UseFd },
13831383
target: { *const libc::c_char },
@@ -1400,7 +1400,7 @@ opcode! {
14001400
}
14011401

14021402
opcode! {
1403-
/// Create a hard link, equivalent to `linkat2(2)`.
1403+
/// Create a hard link, equivalent to `linkat(2)`.
14041404
pub struct LinkAt {
14051405
olddirfd: { impl sealed::UseFd },
14061406
oldpath: { *const libc::c_char },

0 commit comments

Comments
 (0)