diff options
author | Yannick Brosseau <scientist@fb.com> | 2016-06-20 08:07:21 -0700 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2016-06-27 13:18:26 -0600 |
commit | ee65735dd5acecbf335f9aa32e3b129a1de9e184 (patch) | |
tree | ca48c22d86c0bb81949c02469afdc5f54b159d2c /arch | |
parent | 3aefd1febd882a76e21ca8f61ade03b9c1a2c719 (diff) | |
download | op-kernel-dev-ee65735dd5acecbf335f9aa32e3b129a1de9e184.zip op-kernel-dev-ee65735dd5acecbf335f9aa32e3b129a1de9e184.tar.gz |
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: Yannick Brosseau <scientist@fb.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions