Fix error typo

ENONET means "Machine is not on the network" - this was supposed to be ENOENT "No such file or directory"
This commit is contained in:
Dan Schatzberg 2024-04-10 15:28:05 -04:00 committed by GitHub
parent f53c29759e
commit 6eefc8c27f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)