Skip to content

Commit

Permalink
Merge pull request #1476 from coreos/dependabot/cargo/nix-0.29.0
Browse files Browse the repository at this point in the history
build(deps): bump nix from 0.27.1 to 0.29.0
  • Loading branch information
yasminvalim authored Feb 13, 2025
2 parents 8256f2e + 5965de1 commit fc48de9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ hex = "^0.4"
ignition-config = ">= 0.3, < 0.6"
lazy_static = "^1.4"
libc = "^0.2"
nix = { version = ">= 0.24, < 0.28", "default_features" = false, "features" = [ "dir", "ioctl", "mount", "process", "sched", "signal", "user"] }
nix = { version = ">= 0.29, < 0.30", "default_features" = false, "features" = [ "dir", "ioctl", "mount", "process", "sched", "signal", "user"] }
nmstate = { version = ">= 2.2.3, < 3", default-features = false, features = ["gen_conf"] }
openssl = "^0.10"
pipe = ">= 0.3, < 0.5"
Expand Down
2 changes: 1 addition & 1 deletion src/io/hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ impl Sha256Digest {
if unsafe { libc::posix_fadvise(f.as_raw_fd(), 0, 0, libc::POSIX_FADV_SEQUENTIAL) } < 0 {
eprintln!(
"posix_fadvise(SEQUENTIAL) failed (errno {}) -- ignoring...",
nix::errno::errno()
nix::errno::Errno::last_raw()
);
}

Expand Down

0 comments on commit fc48de9

Please sign in to comment.