Skip to content

Conversation

SteveLauC
Copy link
Member

What does this PR do

The ns argument of function nix::sys::prctl::set_timerslack() should have type c_ulong, before this PR, we are using an u64, which causes issue #2497.

This PR changes the type to c_ulong.

Closes #2497

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

@SteveLauC SteveLauC added this pull request to the merge queue Sep 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 15, 2024
@SteveLauC
Copy link
Member Author

SteveLauC commented Sep 15, 2024

Well, that Cirrus CI issue happens again...

Using built-in Git...
Cloning refs/heads/gh-readonly-queue/master/pr-2505-7d75bbc9d6cfe91b903c91f39ed8b500ec65b8d1...
Failed to clone: couldn't find remote ref "refs/heads/gh-readonly-queue/master/pr-2505-7d75bbc9d6cfe91b903c91f39ed8b500ec65b8d1"!

@SteveLauC SteveLauC merged commit b6f9cc3 into nix-rust:master Sep 15, 2024
38 checks passed
@SteveLauC SteveLauC deleted the fix/incorrect_PR_SET_TIMERSLACK_arg_type branch September 15, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

incorrect type passed to variadic function in set_timerslack

1 participant