X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fwrite_append_truncate.c;h=8f950430f223fe86ff663cb2df5d3996f23e57d4;hb=9b6f9d17a35188f5f4dbfae840164b999a7a78a2;hp=6b7cf3026b25f02bfc731b9aeeaf72a057288f4d;hpb=af09b7408143c37e91ecd77ed00a41d128d436cf;p=fs%2Flustre-release.git diff --git a/lustre/tests/write_append_truncate.c b/lustre/tests/write_append_truncate.c index 6b7cf30..8f95043 100644 --- a/lustre/tests/write_append_truncate.c +++ b/lustre/tests/write_append_truncate.c @@ -49,7 +49,7 @@ void usage(char *prog) } /* Print process rank, loop count, message, and exit (i.e. a fatal error) */ -int rprintf(int rank, int loop, const char *fmt, ...) +void rprintf(int rank, int loop, const char *fmt, ...) { va_list ap; @@ -59,8 +59,7 @@ int rprintf(int rank, int loop, const char *fmt, ...) vprintf(fmt, ap); - MPI_Abort(MPI_COMM_WORLD, 1); - exit(1); + MPI_Abort(MPI_COMM_WORLD, -1); } int main(int argc, char *argv[])