[alsa-devel] [PATCH] topology: print error prefix on error message.

Takashi Iwai tiwai at suse.de
Fri Aug 7 18:07:37 CEST 2015


On Fri, 07 Aug 2015 17:39:16 +0200,
Liam Girdwood wrote:
> 
> Let the user know it's an error.
> 
> Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>

Applied, thanks.


Takashi

> ---
>  src/topology/data.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/topology/data.c b/src/topology/data.c
> index c768bc5..0901851 100644
> --- a/src/topology/data.c
> +++ b/src/topology/data.c
> @@ -384,7 +384,7 @@ int tplg_copy_data(struct tplg_elem *elem, struct tplg_elem *ref)
>  		break;
>  
>  	default:
> -		SNDERR("elem '%s': type %d private data not supported \n",
> +		SNDERR("error: elem '%s': type %d private data not supported \n",
>  			elem->id, elem->type);
>  		return -EINVAL;
>  	}
> -- 
> 2.1.4
> 


More information about the Alsa-devel mailing list