aya: fix BpfError display strings

pull/1/head
Alessandro Decina 4 years ago
parent 1b314ded2f
commit bb7728a2c5

@ -364,15 +364,15 @@ pub enum BpfError {
#[error("BTF error")]
BtfError(#[from] BtfError),
#[error("error relocating `{function}`: {error}")]
#[error("error relocating `{function}`")]
RelocationError {
function: String,
error: Box<dyn Error + Send + Sync>,
},
#[error("map error: {0}")]
#[error("map error")]
MapError(#[from] MapError),
#[error("program error: {0}")]
#[error("program error")]
ProgramError(#[from] ProgramError),
}

Loading…
Cancel
Save