HomeFreeBSD

tests/sys/file/ftruncate_test: use an exit code of 1 instead

Description

tests/sys/file/ftruncate_test: use an exit code of 1 instead
of -1 with err*(3).

An exit code of -1 is implementation defined -- it's best to stick
with something well-defined (1).

MFC after: 3 days
Sponsored by: Dell EMC Isilon

Details

Provenance
ngieAuthored on
Parents
rS319055: [ar71xx] undo read-after-write to flush; some bus devices dislike this.
Branches
Unknown
Tags
Unknown