[Patch 08/12] Chunk: fix wrong message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The message makes no sense. It was a carry-over from cldc where there
were many failure modes (fh is NULL, fh->valid false, etc.).

Signed-off-by: Pete Zaitcev <zaitcev@xxxxxxxxxx>

---
 server/cldu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b723269c703c60560e18923ef49fdbe2a46be133
Author: Master <zaitcev@xxxxxxxxxxxxxxxxxx>
Date:   Sat Apr 17 19:52:40 2010 -0600

    Bogus message.

diff --git a/server/cldu.c b/server/cldu.c
index 58edf4b..fd7e9a1 100644
--- a/server/cldu.c
+++ b/server/cldu.c
@@ -384,7 +384,7 @@ static int cldu_set_cldc(struct cld_session *cs, int newactive)
 			    &error, 0 /* CE_MASTER_FAILOVER | CE_SESS_FAILED */,
 			    NULL, NULL);
 	if (cs->ffh == NULL) {
-		applog(LOG_ERR, "CLD open(%s) failed: NULL fh", cs->ffname);
+		applog(LOG_ERR, "CLD open(%s) failed: %d", cs->ffname, error);
 		goto err_fopen;
 	}
 
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Fedora Clound]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux