reduce error to warning - happens for valid progs-section-less programs am: 21f34cb32c

Original change: https://android-review.googlesource.com/c/platform/system/bpf/+/1387317

Change-Id: I9eeda4fd182fe18b3dd7191092b5a7406eafa594
This commit is contained in:
Maciej Żenczykowski 2020-08-05 04:46:57 +00:00 committed by Automerger Merge Worker
commit c2fe18428e

View file

@ -313,7 +313,7 @@ static int getSectionSymNames(ifstream& elfFile, const string& sectionName, vect
/* No section found with matching name*/
if (sec_idx == -1) {
ALOGE("No %s section could be found in elf object\n", sectionName.c_str());
ALOGW("No %s section could be found in elf object\n", sectionName.c_str());
return -1;
}