Change-Id: I091a2d0cc8bfa7b8d98c4f508d175868d0fd7249
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28172
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
void *holdp = (void *)buf2.bufferPtr();
size_t *holdlenp = (size_t *)buf3.bufferPtr();
- ret = sysctl((int *)hnamep, namelen, holdp, holdlenp, hnewp, newlen);
+ ret = sysctl((int *)hnamep, nameLen, holdp, holdlenp, hnewp, newlen);
buf.copyOut(tc->getVirtProxy());
buf2.copyOut(tc->getVirtProxy());