X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fwrite_append_truncate.c;h=8f950430f223fe86ff663cb2df5d3996f23e57d4;hb=453e1cee7b9d87951a1a935ab14bc6c200c85a92;hp=30a95e544760a91e2cc17e6ee06fdc8c894bb13b;hpb=c5050e412572b00cbe93d8517d2d1f767bebfa92;p=fs%2Flustre-release.git diff --git a/lustre/tests/write_append_truncate.c b/lustre/tests/write_append_truncate.c index 30a95e5..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_Finalize(); - exit(1); + MPI_Abort(MPI_COMM_WORLD, -1); } int main(int argc, char *argv[])