On Thu, Mar 26, 2015 at 11:43 AM, Mike Holmes <[email protected]>
wrote:

> Signed-off-by: Mike Holmes <[email protected]>
>

Reviewed-by: Bill Fischofer <[email protected]>


> ---
>  platform/linux-generic/include/odp_debug_internal.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/platform/linux-generic/include/odp_debug_internal.h
> b/platform/linux-generic/include/odp_debug_internal.h
> index 5e38772..24608e1 100644
> --- a/platform/linux-generic/include/odp_debug_internal.h
> +++ b/platform/linux-generic/include/odp_debug_internal.h
> @@ -31,9 +31,9 @@ extern "C" {
>  /**
>   * Runtime assertion-macro - aborts if 'cond' is false.
>   */
> -#define ODP_ASSERT(cond, msg) \
> +#define ODP_ASSERT(cond) \
>         do { if ((ODP_DEBUG == 1) && (!(cond))) { \
> -               ODP_ERR("%s\n", msg); \
> +               ODP_ERR("%s\n", #cond); \
>                 odp_global_data.abort_fn(); } \
>         } while (0)
>
> --
> 2.1.0
>
>
> _______________________________________________
> lng-odp mailing list
> [email protected]
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to