From 6969fee961a2bf7da644a5da198b2ae3e8e57204 Mon Sep 17 00:00:00 2001 From: samr7 Date: Wed, 22 Aug 2012 22:36:42 -0700 Subject: [PATCH] Fix error message in OpenCL engine config function. --- oclengine.c | 2 +- pattern.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/oclengine.c b/oclengine.c index ce4cc50..4a6a232 100644 --- a/oclengine.c +++ b/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; } } diff --git a/pattern.h b/pattern.h index d443510..633bb0a 100644 --- a/pattern.h +++ b/pattern.h @@ -35,7 +35,7 @@ #include #endif -#define VANITYGEN_VERSION "0.21" +#define VANITYGEN_VERSION "0.22pre" typedef struct _vg_context_s vg_context_t;