Permalink
Browse files

Fix error message in OpenCL engine config function.

  • Loading branch information...
1 parent 7c1f495 commit 6969fee961a2bf7da644a5da198b2ae3e8e57204 @samr7 committed Aug 23, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 oclengine.c
  2. +1 −1 pattern.h
View
2 oclengine.c
@@ -2712,7 +2712,7 @@ vg_ocl_context_new_from_devstr(vg_context_t *vcp, const char *devstr,
nthreads = atoi(param);
if (nthreads == 0) {
fprintf(stderr,
- "Invalid thread count '%s'\n", optarg);
+ "Invalid thread count '%s'\n", param);
continue;
}
}
View
2 pattern.h
@@ -35,7 +35,7 @@
#include <unistd.h>
#endif
-#define VANITYGEN_VERSION "0.21"
+#define VANITYGEN_VERSION "0.22pre"
typedef struct _vg_context_s vg_context_t;

0 comments on commit 6969fee

Please sign in to comment.