diff --git a/lustre/tests/write_append_truncate.c b/lustre/tests/write_append_truncate.c
index 6b7cf3026b25f02bfc731b9aeeaf72a057288f4d..7bfb121cb61d2ccc5c84788033dfebe577fabf0f 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;
 
@@ -60,7 +60,6 @@ int rprintf(int rank, int loop, const char *fmt, ...)
         vprintf(fmt, ap);
 
         MPI_Abort(MPI_COMM_WORLD, 1);
-        exit(1);
 }
 
 int main(int argc, char *argv[])
diff --git a/lustre/tests/write_disjoint.c b/lustre/tests/write_disjoint.c
index 923235008792d6ec13a33f42ba7200b11d33d638..c9ffae697ab9f8457995f5488ec8ddca91b1463a 100644
--- a/lustre/tests/write_disjoint.c
+++ b/lustre/tests/write_disjoint.c
@@ -26,7 +26,7 @@
 
 #define CHUNK_MAX_SIZE 123456
 
-int rprintf(int rank, int loop, const char *fmt, ...)
+void rprintf(int rank, int loop, const char *fmt, ...)
 {
         va_list       ap;
  
@@ -37,7 +37,6 @@ int rprintf(int rank, int loop, const char *fmt, ...)
         vprintf(fmt, ap);
  
         MPI_Abort(MPI_COMM_WORLD, 1);
-        exit(1);
 }
 
 int main (int argc, char *argv[]) {