Commit 7473c3dc94c1ce153a9d60ef264a5913529125b4

Luke Dashjr 2013-02-16T05:06:38

Bugfix: Missing pool_no parameter to applog for no-stratum-sessionid debug message

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/util.c b/util.c
index 3ab1236..e3c435b 100644
--- a/util.c
+++ b/util.c
@@ -1482,7 +1482,7 @@ bool initiate_stratum(struct pool *pool)
 	if (pool->sessionid)
 		applog(LOG_DEBUG, "Pool %d stratum session id: %s", pool->pool_no, pool->sessionid);
 	else
-		applog(LOG_DEBUG, "Pool %d stratum session id does not exist");
+		applog(LOG_DEBUG, "Pool %d stratum session id does not exist", pool->pool_no);
 
 	ret = true;
 out: