diff --git a/src/ckdb.h b/src/ckdb.h index 936daf1c..32b158be 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -58,7 +58,7 @@ #define DB_VLOCK "1" #define DB_VERSION "1.0.7" -#define CKDB_VERSION DB_VERSION"-2.413" +#define CKDB_VERSION DB_VERSION"-2.414" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__ diff --git a/src/ckdb_dbio.c b/src/ckdb_dbio.c index 393a8b2e..f45c8aab 100644 --- a/src/ckdb_dbio.c +++ b/src/ckdb_dbio.c @@ -3546,9 +3546,9 @@ static bool shares_process(PGconn *conn, SHARES *shares, K_ITEM *wi_item, 100.0 * pool.diffacc / workinfo->diff_target); } - LOGWARNING("%s %s Diff %.1f%% (%.0f/%.1f) %s " - "Pool %.1f%s%s", - block ? "BLOCK!" : "Share", + LOGWARNING("%s (%"PRIu32") %s Diff %.1f%% (%.0f/%.1f) " + "%s Pool %.1f%s%s", + block ? "BLOCK!" : "Share", workinfo->height, (sta == NULL) ? "ok" : sta, 100.0 * shares->sdiff / workinfo->diff_target, shares->sdiff, workinfo->diff_target,