From fc95c191651f084ef7e75f9cffe25b15cc6fd008 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 3 Jun 2013 16:38:40 +1000 Subject: [PATCH] Switch logsize after hotplugging a device. --- cgminer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cgminer.c b/cgminer.c index 5ebe1a5e..a8b44599 100644 --- a/cgminer.c +++ b/cgminer.c @@ -7204,6 +7204,8 @@ static void hotplug_process() total_devices++; 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)