commit | 80fc4d5b81f2c64f9308c92f0c031ea3e13294bd | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Tue Mar 19 07:31:36 2024 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Mar 19 07:31:36 2024 +0000 |
tree | fd98b549fe9d66011a5c1febe7c4d4b55afeacc3 | |
parent | a490186098067988ff68269bb3b3b6a9f422ef11 [diff] | |
parent | a2706bf76c7534f1075b06b66c95d51f57053ba5 [diff] |
Merge "NetBpfLoad: add a few more consts for safety" into main
diff --git a/netbpfload/loader.cpp b/netbpfload/loader.cpp index a125ffd..9dd0d2a 100644 --- a/netbpfload/loader.cpp +++ b/netbpfload/loader.cpp
@@ -1087,7 +1087,7 @@ 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;