From: adilger Date: Wed, 10 Sep 2003 21:59:22 +0000 (+0000) Subject: Fix usage, error messages. X-Git-Tag: v1_7_0_51~2^7~562 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=4650197561bd60fbbc920994f8328b7c340edfe8;p=fs%2Flustre-release.git Fix usage, error messages. --- diff --git a/lustre/tests/write_append_truncate.c b/lustre/tests/write_append_truncate.c index 176b3dd..4df4666 100644 --- 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 [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();