Skip to content

Commit

Permalink
Merge pull request aya-rs#928 from seanyoung/io-error
Browse files Browse the repository at this point in the history
Expose io_error in SyscallError
  • Loading branch information
alessandrod authored May 4, 2024
2 parents a11b61e + a6c45f6 commit d0e9b95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aya/src/sys/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ pub(crate) enum Syscall<'a> {
#[error("`{call}` failed")]
pub struct SyscallError {
/// The name of the syscall which failed.
pub(crate) call: &'static str,
pub call: &'static str,
/// The [`io::Error`] returned by the syscall.
#[source]
pub(crate) io_error: io::Error,
pub io_error: io::Error,
}

impl std::fmt::Debug for Syscall<'_> {
Expand Down

0 comments on commit d0e9b95

Please sign in to comment.