mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 18:14:20 +00:00
Switch logsize after hotplugging a device.
This commit is contained in:
parent
cc9223f041
commit
fc95c19165
@ -7204,6 +7204,8 @@ static void hotplug_process()
|
|||||||
total_devices++;
|
total_devices++;
|
||||||
applog(LOG_WARNING, "Hotplug: %s added %s %i", cgpu->drv->dname, cgpu->drv->name, cgpu->device_id);
|
applog(LOG_WARNING, "Hotplug: %s added %s %i", cgpu->drv->dname, cgpu->drv->name, cgpu->device_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switch_logsize();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *hotplug_thread(void __maybe_unused *userdata)
|
static void *hotplug_thread(void __maybe_unused *userdata)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user