From: Nikos Nikoleris Date: Thu, 23 Apr 2020 18:46:32 +0000 (+0100) Subject: arch-arm: Fix inconsistency in variable name X-Git-Tag: v20.0.0.0~89 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac9202e64b22a50566abeb95b610b2c30869aa08;p=gem5.git arch-arm: Fix inconsistency in variable name Change-Id: I091a2d0cc8bfa7b8d98c4f508d175868d0fd7249 Signed-off-by: Nikos Nikoleris Reviewed-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28172 Maintainer: Giacomo Travaglini Tested-by: kokoro --- diff --git a/src/arch/arm/freebsd/process.cc b/src/arch/arm/freebsd/process.cc index 3955f85df..d8a7d6836 100644 --- a/src/arch/arm/freebsd/process.cc +++ b/src/arch/arm/freebsd/process.cc @@ -118,7 +118,7 @@ sysctlFunc(SyscallDesc *desc, ThreadContext *tc, Addr namep, size_t nameLen, 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());