Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ee65735d authored by Yannick Brosseau's avatar Yannick Brosseau Committed by Shuah Khan
Browse files

selftests/vm: write strlen length instead of sizeof to nr_hugepages



When setting back the initial value to nr_hugepages, the
test was writing a length sizeof of the string and checking
that strlen was writen. Since those values are not the same,
use strlen in both place instead.

Also make the error messages more explicit to help in future
debugging.

Signed-off-by: default avatarYannick Brosseau <scientist@fb.com>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 3aefd1fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment