Commit 061e86d
committed
map: remove misleading error message when creating without BTF
Time and time again people misunderstand errors like the following:
map create: cannot allocate memory (without BTF k/v)
Instead of focusing on the ENOMEM they assume that it has something
to do with BTF. In reality it just means that creating a map has
failed, and we didn't supply any BTF during creation.
Avoid this confusion by removing the "without BTF k/v" part.
Signed-off-by: Lorenz Bauer <[email protected]>1 parent b689d28 commit 061e86d
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | 516 | | |
520 | 517 | | |
521 | 518 | | |
| |||
0 commit comments