projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05719ac
)
staging: speakup: Combine the consecutive string
author
Panir.Nyan
<panir.nyan@gmail.com>
Wed, 24 Dec 2014 04:07:32 +0000
(
04:07
+0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 18 Jan 2015 00:14:16 +0000
(16:14 -0800)
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>
drivers/staging/speakup/kobjects.c
patch
|
blob
|
history
diff --git
a/drivers/staging/speakup/kobjects.c
b/drivers/staging/speakup/kobjects.c
index
b12c76d
..
3708bc1
100644
(file)
--- 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';