From 6eefc8c27ffc4b69e79a19af72e0fe4a3690af23 Mon Sep 17 00:00:00 2001 From: Dan Schatzberg Date: Wed, 10 Apr 2024 15:28:05 -0400 Subject: [PATCH] Fix error typo ENONET means "Machine is not on the network" - this was supposed to be ENOENT "No such file or directory" --- scheds/rust/scx_layered/src/bpf/main.bpf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scheds/rust/scx_layered/src/bpf/main.bpf.c b/scheds/rust/scx_layered/src/bpf/main.bpf.c index e50bff2..4b8f296 100644 --- a/scheds/rust/scx_layered/src/bpf/main.bpf.c +++ b/scheds/rust/scx_layered/src/bpf/main.bpf.c @@ -997,7 +997,7 @@ s32 BPF_STRUCT_OPS_SLEEPABLE(layered_init) return ret; if (!(cpumaskw = bpf_map_lookup_elem(&layer_cpumasks, &i))) - return -ENONET; + return -ENOENT; cpumask = bpf_cpumask_create(); if (!cpumask)