Browse Source

Fix error message in OpenCL engine config function.

master
samr7 12 years ago
parent
commit
6969fee961
  1. 2
      oclengine.c
  2. 2
      pattern.h

2
oclengine.c

@ -2712,7 +2712,7 @@ vg_ocl_context_new_from_devstr(vg_context_t *vcp, const char *devstr,
nthreads = atoi(param); nthreads = atoi(param);
if (nthreads == 0) { if (nthreads == 0) {
fprintf(stderr, fprintf(stderr,
"Invalid thread count '%s'\n", optarg); "Invalid thread count '%s'\n", param);
continue; continue;
} }
} }

2
pattern.h

@ -35,7 +35,7 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#define VANITYGEN_VERSION "0.21" #define VANITYGEN_VERSION "0.22pre"
typedef struct _vg_context_s vg_context_t; typedef struct _vg_context_s vg_context_t;

Loading…
Cancel
Save