From a015a573edfd94dbf3a3cbe855fca7827e1fff45 Mon Sep 17 00:00:00 2001 From: grev Date: Tue, 21 Jul 2009 13:06:08 +0000 Subject: [PATCH] b=19248 o=Robert.Read i=Brian write_append_truncate build fix --- lustre/tests/mpi/write_append_truncate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/tests/mpi/write_append_truncate.c b/lustre/tests/mpi/write_append_truncate.c index bae9ba4..473f33a 100644 --- a/lustre/tests/mpi/write_append_truncate.c +++ b/lustre/tests/mpi/write_append_truncate.c @@ -523,6 +523,7 @@ int main(int argc, char *argv[]) if (error == 1) { char command[4096]; + int rc; rprintf(rank, n, 0, STATUS_FMT"\n", write_char, write_size, write_size, @@ -530,7 +531,7 @@ int main(int argc, char *argv[]) trunc_offset, trunc_offset); sprintf(command, "od -Ax -a %s", fnames[0]); - system(command); + rc = system(command); MPI_Abort(MPI_COMM_WORLD, 1); } } -- 1.8.3.1