Browse Source

usbutils initialise close key/sem

nfactor-troky
Kano 12 years ago
parent
commit
410fba7e04
  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