commit | c7c12932942faf1432d7309b517f1186c50ea7e6 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Apr 19 09:12:15 2019 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Apr 19 09:12:15 2019 -0700 |
tree | 94dd72a40bce9f791849e230d77f56398b6fa679 | |
parent | e751360ca4335cd79b76dcb546c4e4b9b3cd6706 [diff] |
ioshark: fix posix_fadvise error checking. posix_ and pthread_ routines [almost all] return errno values on failure. Also stop reporting errno when we can give a message instead. (This code should probably use error(3) instead, but that's a bigger cleanup and I'm not sure this isn't all dead code anyway.) Test: builds Change-Id: I11e5927e4d797cd213f574fe414c021829625483