aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2019-09-07 21:34:57 +0100
committerSean Young <sean@mess.org>2019-09-07 21:34:57 +0100
commitf14633618f891de77243c7e5a64262f9082503bd (patch)
tree8d4e9bc30d891b029b338a07cf8e52e6f64ed5aa
parent73405d0ba358d8404108ddc467c34a7d81a6bd2f (diff)
keytable: kernel v5.2 does not like - in BPF name
Replace with _. Signed-off-by: Sean Young <sean@mess.org>
-rw-r--r--utils/keytable/bpf_protocols/xbox-dvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/keytable/bpf_protocols/xbox-dvd.c b/utils/keytable/bpf_protocols/xbox-dvd.c
index 91b7d02e..18225453 100644
--- a/utils/keytable/bpf_protocols/xbox-dvd.c
+++ b/utils/keytable/bpf_protocols/xbox-dvd.c
@@ -51,7 +51,7 @@ static inline int eq_margin(unsigned d1, unsigned d2)
return ((d1 > (d2 - BPF_PARAM(margin))) && (d1 < (d2 + BPF_PARAM(margin))));
}
-SEC("xbox-dvd")
+SEC("xbox_dvd")
int bpf_decoder(unsigned int *sample)
{
unsigned int key = 0;

Privacy Policy