Browse Source

core: fix build error due to CGMINER_PREFIX reference.

nfactor-troky
Noel Maersk 11 years ago
parent
commit
6ea3b93809
  1. 2
      sgminer.c

2
sgminer.c

@ -7603,7 +7603,7 @@ int main(int argc, char *argv[]) @@ -7603,7 +7603,7 @@ int main(int argc, char *argv[])
timeBeginPeriod(1);
#endif
opt_kernel_path = alloca(PATH_MAX);
strcpy(opt_kernel_path, CGMINER_PREFIX);
strcpy(opt_kernel_path, SGMINER_PREFIX);
cgminer_path = alloca(PATH_MAX);
s = strdup(argv[0]);
strcpy(cgminer_path, dirname(s));

Loading…
Cancel
Save