projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9c026c
)
sd-boot: fix trailing whitespace trimming
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sun, 25 Nov 2018 21:43:33 +0000
(06:43 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sun, 25 Nov 2018 21:43:36 +0000
(06:43 +0900)
Fixes #10922.
src/boot/efi/boot.c
patch
|
blob
|
history
diff --git
a/src/boot/efi/boot.c
b/src/boot/efi/boot.c
index
d3a26fd
..
4719eea
100644
(file)
--- a/
src/boot/efi/boot.c
+++ b/
src/boot/efi/boot.c
@@
-981,7
+981,7
@@
skip:
}
/* remove trailing whitespace */
- while (linelen > 0 && strchra(
sep
, line[linelen-1]))
+ while (linelen > 0 && strchra(
(CHAR8 *)" \t"
, line[linelen-1]))
linelen--;
line[linelen] = '\0';