Browse Source

Switch logsize after hotplugging a device.

Con Kolivas 12 years ago
parent
commit
fc95c19165
1 changed files with 2 additions and 0 deletions
  1. 2 0
      cgminer.c

+ 2 - 0
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)