mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 10:04:33 +00:00
Merge pull request #450 from kanoi/master
usbutils initialise close key/sem
This commit is contained in:
commit
2e1bbeac31
@ -3303,8 +3303,8 @@ fila:
|
|||||||
return;
|
return;
|
||||||
#else
|
#else
|
||||||
char name[64];
|
char name[64];
|
||||||
key_t *key;
|
key_t *key = NULL;
|
||||||
int *sem;
|
int *sem = NULL;
|
||||||
|
|
||||||
sprintf(name, "/tmp/cgminer-usb-%d-%d", (int)bus_number, (int)device_address);
|
sprintf(name, "/tmp/cgminer-usb-%d-%d", (int)bus_number, (int)device_address);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user