Browse Source

Merge branch 'ants5' into bfgminer

Luke Dashjr 10 years ago
parent
commit
7fe638a626
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-bitmain.c

+ 1 - 1
driver-bitmain.c

@@ -671,7 +671,7 @@ static int bitmain_read(struct cgpu_info *bitmain, unsigned char *buf,
 	size_t total = 0;
 
 	if(bitmain == NULL || buf == NULL || bufsize <= 0) {
-		applog(LOG_WARNING, "bitmain_read parameter error bufsize(%llu)", (unsigned long long)bufsize);
+		applog(LOG_WARNING, "bitmain_read parameter error bufsize(%"PRIu64")", (uint64_t)bufsize);
 		return -1;
 	}
 	{