[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)