1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 18:14:20 +00:00

Make a binary load failure build from source.

This commit is contained in:
Ycros 2011-07-02 10:22:09 +10:00 committed by Con Kolivas
parent ffdffe77d3
commit 5d301c8ba0

2
ocl.c
View File

@ -397,7 +397,7 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
if (fread(binaries[gpu], 1, binary_sizes[gpu], binaryfile) != binary_sizes[gpu]) {
applog(LOG_ERR, "Unable to fread binaries[gpu]");
fclose(binaryfile);
return NULL;
goto build;
}
fclose(binaryfile);