[clinfo] 06/148: Stupid error in cl_error

Andreas Beckmann anbe at moszumanska.debian.org
Mon Nov 17 14:09:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch clinfo
in repository clinfo.

commit d7e9edd8ae4b6086772a9527d28868ff3b6b09ab
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Thu Jun 6 12:45:16 2013 +0200

    Stupid error in cl_error
---
 src/cl_error.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cl_error.h b/src/cl_error.h
index 0b0a057..768ad9f 100644
--- a/src/cl_error.h
+++ b/src/cl_error.h
@@ -8,7 +8,7 @@ void
 check_ocl_error(cl_int err, const char *what, const char *func, int line)
 {
 	if (err != CL_SUCCESS) {
-		fprintf(stderr, "%s:%s: %s : error %d\n",
+		fprintf(stderr, "%s:%u: %s : error %d\n",
 			func, line, what, err);
 		exit(1);
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/clinfo.git



More information about the Pkg-opencl-commits mailing list