Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34b5366
)
Fix usage, error messages.
author
adilger
<adilger>
Wed, 10 Sep 2003 21:59:22 +0000
(21:59 +0000)
committer
adilger
<adilger>
Wed, 10 Sep 2003 21:59:22 +0000
(21:59 +0000)
lustre/tests/write_append_truncate.c
patch
|
blob
|
history
diff --git
a/lustre/tests/write_append_truncate.c
b/lustre/tests/write_append_truncate.c
index
176b3dd
..
4df4666
100644
(file)
--- a/
lustre/tests/write_append_truncate.c
+++ b/
lustre/tests/write_append_truncate.c
@@
-42,7
+42,7
@@
void usage(char *prog)
{
printf("usage: %s <filename> [nloops]\n", prog);
- printf("%s must be run with 2 processes\n", prog);
+ printf("%s must be run with
at least
2 processes\n", prog);
MPI_Finalize();
exit(1);
@@
-278,7
+278,8
@@
int main(int argc, char *argv[])
if (rank == 0) {
error = unlink(fname);
if (error < 0)
- rprintf("unlink %s failed: %s\n",fname,strerror(errno));
+ rprintf(0, n, "unlink %s failed: %s\n",
+ fname, strerror(errno));
}
MPI_Finalize();