ACK: [PATCH] lib: fwts_klog: fix incorrect indentation, detected by gcc-6

ivanhu ivan.hu at canonical.com
Tue Jan 19 06:15:02 UTC 2016



On 2016年01月14日 00:03, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>   src/lib/src/fwts_klog.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/lib/src/fwts_klog.c b/src/lib/src/fwts_klog.c
> index 62bddfb..48a0e45 100644
> --- a/src/lib/src/fwts_klog.c
> +++ b/src/lib/src/fwts_klog.c
> @@ -133,8 +133,8 @@ char *fwts_klog_remove_timestamp(char *text)
>   	if (*ptr == '[')
>   		while (*ptr && *ptr !=']')
>   			ptr++;
> -		if (*ptr == ']')
> -			ptr+=2;	/* Skip ] and trailing space */
> +	if (*ptr == ']')
> +		ptr+=2;	/* Skip ] and trailing space */
>   
>   	return ptr;
>   }

Acked-by: Ivan Hu <ivan.hu at canonical.com>




More information about the fwts-devel mailing list