Skip to content

Commit f13fd42

Browse files
committed
netbsd add two more errnos
available in NetBSD-current since 2020
1 parent 6a5c07f commit f13fd42

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

libc-test/semver/netbsd.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,3 +1542,5 @@ EXTATTR_NAMESPACE_EMPTY
15421542
extattr_list_fd
15431543
extattr_list_file
15441544
extattr_list_link
1545+
EOWNERDEAD
1546+
ENOTRECOVERABLE

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,9 @@ pub const ENOATTR: ::c_int = 93;
14211421
pub const EMULTIHOP: ::c_int = 94;
14221422
pub const ENOLINK: ::c_int = 95;
14231423
pub const EPROTO: ::c_int = 96;
1424-
pub const ELAST: ::c_int = 96;
1424+
pub const EOWNERDEAD: ::c_int = 97;
1425+
pub const ENOTRECOVERABLE: ::c_int = 98;
1426+
pub const ELAST: ::c_int = 98;
14251427

14261428
pub const F_DUPFD_CLOEXEC: ::c_int = 12;
14271429
pub const F_CLOSEM: ::c_int = 10;

0 commit comments

Comments
 (0)