Browse Source

-S all: Start QueryDosDevices probe with 256-byte buffer

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

+ 1 - 1
miner.c

@@ -597,7 +597,7 @@ char* add_serial_all(char*arg, char*p) {
 
 #elif defined(WIN32)
 
-	size_t bufLen = 0x10;  // temp!
+	size_t bufLen = 0x100;
 tryagain: ;
 	char buf[bufLen];
 	if (!QueryDosDevice(NULL, buf, bufLen)) {