Skip to content

Commit 6f15bf3

Browse files
committed
Add Errno::EOPNOTSUPP to FreeBSD, where it is missing
1 parent 4da2e02 commit 6f15bf3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
4949
(#[1395](https://github.com/nix-rust/nix/pull/1395))
5050
- Fix spurious errors using `sendmmsg` with multiple cmsgs
5151
(#[1414](https://github.com/nix-rust/nix/pull/1414))
52+
- Added `Errno::EOPNOTSUPP` to FreeBSD, where it was missing.
53+
(#[1452](https://github.com/nix-rust/nix/pull/1452))
5254

5355
### Removed
5456

src/errno.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,6 +1334,7 @@ mod consts {
13341334
pub const ELAST: Errno = Errno::EOWNERDEAD;
13351335
pub const EWOULDBLOCK: Errno = Errno::EAGAIN;
13361336
pub const EDEADLOCK: Errno = Errno::EDEADLK;
1337+
pub const EOPNOTSUPP: Errno = Errno::ENOTSUP;
13371338
}
13381339

13391340
pub fn from_i32(e: i32) -> Errno {

0 commit comments

Comments
 (0)