1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

usbutils initialise close key/sem

This commit is contained in:
Kano 2013-06-17 22:20:27 +10:00
parent 87cdfae833
commit 410fba7e04

View File

@ -3303,8 +3303,8 @@ fila:
return;
#else
char name[64];
key_t *key;
int *sem;
key_t *key = NULL;
int *sem = NULL;
sprintf(name, "/tmp/cgminer-usb-%d-%d", (int)bus_number, (int)device_address);