Browse Source

logging - code mistake

Kano 12 years ago
parent
commit
3aefcce41c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      driver-bflsc.c
  2. 1 1
      driver-bflsc.h

+ 1 - 1
driver-bflsc.c

@@ -1223,7 +1223,7 @@ static void process_nonces(struct cgpu_info *bflsc, int dev, char *xlink, char *
 	}
 
 	if (count > sc_info->que_fld_max) {
-		applogsiz(LOG_INFO, "%s%i:%s work returned too large (%d) processing %d anyway",
+		applog(LOG_INFO, "%s%i:%s work returned too large (%d) processing %d anyway",
 		       bflsc->drv->name, bflsc->device_id, xlink, count, sc_info->que_fld_max);
 		count = sc_info->que_fld_max;
 		inc_hw_errors(bflsc->thr[0]);

+ 1 - 1
driver-bflsc.h

@@ -47,7 +47,7 @@ enum driver_version {
 #define BFLSC_BUFSIZ (0x1000)
 
 // Should be big enough
-#define BFLSC_APPLOGSIZ (0x2000)
+#define BFLSC_APPLOGSIZ 8192
 
 #define BFLSC_INFO_TIMEOUT 999