staging: speakup: Combine the consecutive string
Combine the consecutive string Signed-off-by: Panir Nyan <Panir.Nyan@gmail.com> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
05719ac7d5
commit
25c048680b
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user