NetBpfLoad: add a few more consts for safety

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I4f59ec295b34d6942732bb5f636699385e998bba
This commit is contained in:
Maciej Żenczykowski 2024-03-18 22:27:22 -07:00
parent c2d425aab0
commit a2706bf76c

View file

@ -1087,7 +1087,7 @@ static int loadCodeSections(const char* elfPath, vector<codeSection>& cs, const
return 0;
}
int loadProg(const char* elfPath, bool* isCritical, const unsigned int bpfloader_ver,
int loadProg(const char* const elfPath, bool* const isCritical, const unsigned int bpfloader_ver,
const Location& location) {
vector<char> license;
vector<char> critical;