mirror of
https://github.com/GOSTSec/vanitygen
synced 2025-02-07 12:24:20 +00:00
Be more specific in error message about missing kernel code.
This commit is contained in:
parent
216cb03c5c
commit
31783f5197
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user