X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fmpi%2Fwrite_append_truncate.c;h=7b14d72ab3c6f32b7dc6646cd8aa7643c682c67b;hp=bae9ba4438deb25d09d5f0e188551f956aa23233;hb=ecea0c8776ea2d085e35198d13ea41c4fbf49a8e;hpb=20227aaa0d5d4622cb87c3b19761363543895116 diff --git a/lustre/tests/mpi/write_append_truncate.c b/lustre/tests/mpi/write_append_truncate.c index bae9ba4..7b14d72 100644 --- a/lustre/tests/mpi/write_append_truncate.c +++ b/lustre/tests/mpi/write_append_truncate.c @@ -26,7 +26,7 @@ * GPL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved + * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. */ /* @@ -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); } }