From 245cd46baba5e1b532c7bf8b3eb732ab398bb529 Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Mon, 15 Feb 2021 19:43:44 +0000 Subject: [PATCH] aya: tweak error display --- aya/src/bpf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aya/src/bpf.rs b/aya/src/bpf.rs index 519a4e27..3b9fffa9 100644 --- a/aya/src/bpf.rs +++ b/aya/src/bpf.rs @@ -192,7 +192,7 @@ pub enum BpfError { error: io::Error, }, - #[error("error parsing BPF object: {0}")] + #[error("error parsing BPF object")] ParseError(#[from] ParseError), #[error("BTF error")]