summaryrefslogtreecommitdiffstats
path: root/tests/run-test.sh
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2022-09-27 17:56:19 +0200
committerJose M. Guisado <jguisado@soleta.eu>2022-09-27 17:56:19 +0200
commit67d9fde94c88d188b5873d9eab0cadcb2cc2e35c (patch)
tree22eecf8718754e1d0954181d255b843708cbebdd /tests/run-test.sh
parent9bfb511749f4d8488ca6673514a1cccd9a62ce79 (diff)
replace posix_fallocate with fallocate
posix_fallocate does not return -1 for an error case. Replace posix_fallocate for fallocate which does return -1 when something goes wrong. See fallocate(2): On success, fallocate() returns zero. On error, -1 is returned and errno is set to indicate the error.
Diffstat (limited to 'tests/run-test.sh')
0 files changed, 0 insertions, 0 deletions