1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Copy cgminer path, not cat it.

This commit is contained in:
Con Kolivas 2011-08-28 07:53:25 +10:00
parent 882961f8e2
commit eb0fa6e5df

2
main.c
View File

@ -4495,7 +4495,7 @@ int main (int argc, char *argv[])
sigaction(SIGINT, &handler, &inthandler);
opt_kernel_path = malloc(PATH_MAX);
strcat(opt_kernel_path, CGMINER_PREFIX);
strcpy(opt_kernel_path, CGMINER_PREFIX);
// Hack to make cgminer silent when called recursively on WIN32
int skip_to_bench = 0;