Browse Source

Bugfix: When QueryDosDevice fails, skip trying to parse its (undefined) results

Luke Dashjr 12 years ago
parent
commit
bbf0560bd1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -903,7 +903,7 @@ tryagain: ;
 			applog(LOG_DEBUG, "QueryDosDevice returned insufficent buffer error; enlarging to %lx", (unsigned long)bufLen);
 			goto tryagain;
 		}
-		applog(LOG_WARNING, "Error occurred trying to enumerate COM ports with QueryDosDevice");
+		applogr(, LOG_WARNING, "Error occurred trying to enumerate COM ports with QueryDosDevice");
 	}
 	size_t tLen;
 	memcpy(devp, "\\\\.\\", 4);