commit | 8d39ce79738182d3b50f3a8a33dcaa00fd1f3982 | [log] [tgz] |
---|---|---|
author | Garrett Cooper <yanegomi@gmail.com> | Mon Oct 18 04:08:12 2010 -0700 |
committer | Garrett Cooper <yanegomi@gmail.com> | Mon Oct 18 04:08:12 2010 -0700 |
tree | 90adccb6e7a4e259ab5c3eede429c6e184010341 | |
parent | db8ddc22b49e57fe49469905f128559ceab8090d [diff] |
Simplify testcase. Print ret, not errno. 1. The testcase only needs to test whether or not a valid aio_* operation had been started, so aio_write can be removed. 2. The previous code was printing out the global errno value, not the returned value from aio_error, and the manpage states that that should be done. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>