Skip to content

Commit fc48de9

Browse files
authored
Merge pull request #1476 from coreos/dependabot/cargo/nix-0.29.0
build(deps): bump nix from 0.27.1 to 0.29.0
2 parents 8256f2e + 5965de1 commit fc48de9

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

Cargo.lock

Lines changed: 9 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ hex = "^0.4"
6363
ignition-config = ">= 0.3, < 0.6"
6464
lazy_static = "^1.4"
6565
libc = "^0.2"
66-
nix = { version = ">= 0.24, < 0.28", "default_features" = false, "features" = [ "dir", "ioctl", "mount", "process", "sched", "signal", "user"] }
66+
nix = { version = ">= 0.29, < 0.30", "default_features" = false, "features" = [ "dir", "ioctl", "mount", "process", "sched", "signal", "user"] }
6767
nmstate = { version = ">= 2.2.3, < 3", default-features = false, features = ["gen_conf"] }
6868
openssl = "^0.10"
6969
pipe = ">= 0.3, < 0.5"

src/io/hash.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ impl Sha256Digest {
158158
if unsafe { libc::posix_fadvise(f.as_raw_fd(), 0, 0, libc::POSIX_FADV_SEQUENTIAL) } < 0 {
159159
eprintln!(
160160
"posix_fadvise(SEQUENTIAL) failed (errno {}) -- ignoring...",
161-
nix::errno::errno()
161+
nix::errno::Errno::last_raw()
162162
);
163163
}
164164

0 commit comments

Comments
 (0)