Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
smash the HEAD with the contents of b_cmd. HEAD_PRE_CMD_SMASH and
[fs/lustre-release.git]
/
lustre
/
tests
/
write_append_truncate.c
diff --git
a/lustre/tests/write_append_truncate.c
b/lustre/tests/write_append_truncate.c
index
7bfb121
..
30a95e5
100644
(file)
--- 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) */
}
/* Print process rank, loop count, message, and exit (i.e. a fatal error) */
-
void
rprintf(int rank, int loop, const char *fmt, ...)
+
int
rprintf(int rank, int loop, const char *fmt, ...)
{
va_list ap;
{
va_list ap;
@@
-59,7
+59,8
@@
void rprintf(int rank, int loop, const char *fmt, ...)
vprintf(fmt, ap);
vprintf(fmt, ap);
- MPI_Abort(MPI_COMM_WORLD, 1);
+ MPI_Finalize();
+ exit(1);
}
int main(int argc, char *argv[])
}
int main(int argc, char *argv[])