projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only print usage() on error
[fio.git]
/
engines
/
solarisaio.c
diff --git
a/engines/solarisaio.c
b/engines/solarisaio.c
index 17b7e22c87bcc9b850def35739e4a973d7a129f6..906a154a2eee3093274f3537cdf4bf40bcf1751c 100644
(file)
--- a/
engines/solarisaio.c
+++ b/
engines/solarisaio.c
@@
-62,7
+62,7
@@
static void wait_for_event(struct timeval *tv)
io_u->resid = io_u->xfer_buflen - io_u->resultp.aio_return;
io_u->error = 0;
} else
io_u->resid = io_u->xfer_buflen - io_u->resultp.aio_return;
io_u->error = 0;
} else
- io_u->error = io_u->resultp.aio_
return
;
+ io_u->error = io_u->resultp.aio_
errno
;
/*
* For SIGIO, we need a write barrier between the two, so that
/*
* For SIGIO, we need a write barrier between the two, so that
@@
-234,7
+234,7
@@
static struct ioengine_ops ioengine = {
*/
static int fio_solarisaio_init(struct thread_data fio_unused *td)
{
*/
static int fio_solarisaio_init(struct thread_data fio_unused *td)
{
-
fprintf(stderr,
"fio: solarisaio not available\n");
+
log_err(
"fio: solarisaio not available\n");
return 1;
}
return 1;
}