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;