From: Giuseppe Bilotta Date: Sat, 3 Sep 2011 08:09:44 +0000 (+0200) Subject: Fix wrong error condition message X-Git-Url: http://git.oblomov.eu/babel/commitdiff_plain Fix wrong error condition message --- diff --git a/babel.cc b/babel.cc index 7cc66ad..1a5dd1d 100644 --- a/babel.cc +++ b/babel.cc @@ -160,7 +160,7 @@ int main(int argc, char **argv) { /* copy memory up */ error = clEnqueueWriteBuffer(queue, enc_d, false, 0, enc_size, enc_h, 0, NULL, NULL); - check_ocl_error(error, "getting results"); + check_ocl_error(error, "loading encoded data"); /* load and build program */ char *prog_source = read_file("babel.cl");