commit | 437c9b71527b14a8e872c03cd821179eba351474 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Feb 13 18:20:37 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Feb 13 18:20:37 2007 +0100 |
tree | c855812adf67cc873d622227bfba310ad81422a7 | |
parent | e9fbdd74f6ac24d93824177a8858c028305c9900 [diff] [blame] |
[PATCH] Make the exit value meaningfull Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.h b/fio.h index c0b92a6..c15232a 100644 --- a/fio.h +++ b/fio.h
@@ -674,6 +674,7 @@ if (!(cond)) { \ fprintf(stderr, "file:%s:%d, assert %s failed\n", __FILE__, __LINE__, #cond); \ (td)->runstate = TD_EXITED; \ + (td)->error = EFAULT; \ exit(0); \ } \ } while (0)