1
0
mirror of https://github.com/GOSTSec/vanitygen synced 2025-02-07 04:14:15 +00:00

Be more specific in error message about missing kernel code.

This commit is contained in:
samr7 2011-08-06 04:02:36 -07:00
parent 216cb03c5c
commit 31783f5197

View File

@ -647,7 +647,8 @@ vg_ocl_load_program(vg_context_t *vcp, vg_ocl_context_t *vocp,
kfp = fopen(filename, "r");
if (!kfp) {
printf("Error loading CL kernel: %s\n", strerror(errno));
printf("Error loading kernel file '%s': %s\n",
filename, strerror(errno));
free(buf);
return 0;
}