From f00157f55b15f25235815f4ca6e229318090f049 Mon Sep 17 00:00:00 2001 From: liuy Date: Thu, 1 Nov 2007 02:59:57 +0000 Subject: [PATCH] b=13884 i=adilger, deen change the error message in llu_file_prwv() --- lustre/liblustre/rw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/liblustre/rw.c b/lustre/liblustre/rw.c index 6e03a07..3475670 100644 --- a/lustre/liblustre/rw.c +++ b/lustre/liblustre/rw.c @@ -774,7 +774,7 @@ ssize_t llu_file_prwv(const struct iovec *iovec, int iovlen, err = oig_wait(iogroup->lig_oig); if (err) { - CERROR("sync error %d, data corruption possible\n", err); + CERROR("%s error: %s\n", is_read ? "read" : "write", strerror(-err)); GOTO(err_unlock, err); } -- 1.8.3.1