Browse Source

Merge pull request #450 from kanoi/master

usbutils initialise close key/sem
nfactor-troky
kanoi 12 years ago
parent
commit
2e1bbeac31
  1. 4
      usbutils.c

4
usbutils.c

@ -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…
Cancel
Save