From: Panir.Nyan Date: Wed, 24 Dec 2014 04:07:32 +0000 (+0000) Subject: staging: speakup: Combine the consecutive string X-Git-Tag: firefly_0821_release~176^2~2320^2~289 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=25c048680b53c689ec918b3adfcfe62e1f03d4f0;p=firefly-linux-kernel-4.4.55.git staging: speakup: Combine the consecutive string Combine the consecutive string Signed-off-by: Panir Nyan Acked-by: Samuel Thibault Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/speakup/kobjects.c b/drivers/staging/speakup/kobjects.c index b12c76de60b0..3708bc13ae86 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';