[Beignet] [PATCH] add a space to make the error more readable

Zhigang Gong zhigang.gong at linux.intel.com
Fri Aug 30 01:43:35 PDT 2013


LGTM, pushed, thanks.

On Wed, Aug 28, 2013 at 10:16:57AM +0800, Lu Guanqun wrote:
> Signed-off-by: Lu Guanqun <guanqun.lu at intel.com>
> ---
>  utests/utest_helper.hpp |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/utests/utest_helper.hpp b/utests/utest_helper.hpp
> index e7f43fc..4a6071d 100644
> --- a/utests/utest_helper.hpp
> +++ b/utests/utest_helper.hpp
> @@ -50,7 +50,7 @@ extern EGLSurface  eglSurface;
>  #define OCL_THROW_ERROR(FN, STATUS) \
>    do { \
>      char msg[2048]; \
> -    sprintf(msg, "error calling %s with error%s \n", #FN, err_msg[-STATUS]); \
> +    sprintf(msg, "error calling %s with error %s \n", #FN, err_msg[-STATUS]); \
>      OCL_ASSERTM(false, msg); \
>    } while (0)
>  
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list