Re: [PATCH 2/2] staging: speakup: Combine the consecutive string

From: Samuel Thibault
Date: Wed Dec 24 2014 - 10:44:31 EST


Panir.Nyan, le Wed 24 Dec 2014 04:07:32 +0000, a écrit :
> Combine the consecutive string
>
> Signed-off-by: Panir Nyan <Panir.Nyan@xxxxxxxxx>

Acked-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

> ---
> drivers/staging/speakup/kobjects.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/speakup/kobjects.c b/drivers/staging/speakup/kobjects.c
> index b12c76d..3708bc1 100644
> --- a/drivers/staging/speakup/kobjects.c
> +++ b/drivers/staging/speakup/kobjects.c
> @@ -566,7 +566,7 @@ ssize_t spk_var_show(struct kobject *kobj, struct kobj_attribute *attr,
> if (ch >= ' ' && ch < '~')
> *cp1++ = ch;
> else
> - cp1 += sprintf(cp1, "\\""x%02x", ch);
> + cp1 += sprintf(cp1, "\\x%02x", ch);
> }
> *cp1++ = '"';
> *cp1++ = '\n';
> --
> 1.7.10.4
>

--
Samuel
"...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and
the Ugly)."
(By Matt Welsh)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/