|
@@ -7084,6 +7084,8 @@ static void log_print_status(struct cgpu_info *cgpu)
|
|
|
applog(LOG_WARNING, "%s", logline);
|
|
applog(LOG_WARNING, "%s", logline);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+static void noop_get_statline(char __maybe_unused *buf, size_t __maybe_unused bufsiz, struct cgpu_info __maybe_unused *cgpu);
|
|
|
|
|
+
|
|
|
void print_summary(void)
|
|
void print_summary(void)
|
|
|
{
|
|
{
|
|
|
struct timeval diff;
|
|
struct timeval diff;
|
|
@@ -7155,6 +7157,7 @@ void print_summary(void)
|
|
|
for (i = 0; i < total_devices; ++i) {
|
|
for (i = 0; i < total_devices; ++i) {
|
|
|
struct cgpu_info *cgpu = get_devices(i);
|
|
struct cgpu_info *cgpu = get_devices(i);
|
|
|
|
|
|
|
|
|
|
+ cgpu->drv->get_statline = &noop_get_statline;
|
|
|
log_print_status(cgpu);
|
|
log_print_status(cgpu);
|
|
|
}
|
|
}
|
|
|
|
|
|