@@ -2659,7 +2659,7 @@ static void text_print_status(int thr_id)
/* Must be called with curses mutex lock held and curses_active */
static void curses_print_status(void)
{
- struct pool *pool = current_pool();
+ struct pool *pool = currentpool;
struct timeval now, tv;
float efficiency;
double utility;
@@ -2696,7 +2696,7 @@ static void curses_print_status(void)
char bwstr[12];
mvwprintw(statuswin, 3, 0, " ST:%d F:%d NB:%d AS:%d BW:[%s] E:%.2f U:%.1f/m BS:%s",
- total_staged(),
+ __total_staged(),
total_go + total_ro,
new_blocks,
total_submitting,