aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test_random_isaac.c
diff options
context:
space:
mode:
authorIgor Mikhailov (imichail) <imichail@cisco.com>2018-02-05 12:09:36 -0800
committerDamjan Marion <dmarion.lists@gmail.com>2018-02-06 10:35:04 +0000
commit7d25415a9384d4c3d786d0c1ae5c0fcff3112acd (patch)
tree4946f7d77fa9986a4af76997824db538de98c6b1 /src/vppinfra/test_random_isaac.c
parenta332c46a51f9b4e13963340dfee1318e7513c124 (diff)
Provide page-aligned length to ftruncate.
For some files such as hugepages files, ftruncate() fails with the error "Invalid argument" if the 'length' parameter is not on a page boundary. Change-Id: I42a9cde98707da15e3c5d1653046e2277fc7a424 Signed-off-by: Igor Mikhailov (imichail) <imichail@cisco.com>
Diffstat (limited to 'src/vppinfra/test_random_isaac.c')
0 files changed, 0 insertions, 0 deletions