Skip to contentSkip to conversation

Chunk: fix wrong message

PATCH In review Pete Zaitcev 1 participant 1 message Apr 18, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 8/12 Chunk: fix wrong message

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.).

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

commit b723269c703c60560e18923ef49fdbe2a46be133

Author: Master <[email protected]>
Date:   Sat Apr 17 19:52:40 2010 -0600

Bogus message.

server/cldu.c +1 -1
index 58edf4b..fd7e9a1 100644
@@ -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;
 	}