Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
tools
etwrp
Commits
7c997913
Commit
7c997913
authored
Nov 30, 2017
by
Ethan Yonker
Browse files
Fix more compile errors in bootloader_message_twrp
Change-Id: I3b1b540f404efcd153d0b75d29e5b6ee8b0caa85
parent
31344a3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
bootloader_message_twrp/bootloader_message.cpp
View file @
7c997913
...
...
@@ -310,11 +310,11 @@ get_args(int *argc, char ***argv) {
}
//stage = strndup(boot.stage, sizeof(boot.stage));
if
(
boot
.
command
[
0
]
!=
0
&&
boot
.
command
[
0
]
!=
255
)
{
if
(
boot
.
command
[
0
]
!=
0
&&
boot
.
command
[
0
]
!=
(
char
)
255
)
{
printf
(
"Boot command: %.*s
\n
"
,
(
int
)
sizeof
(
boot
.
command
),
boot
.
command
);
}
if
(
boot
.
status
[
0
]
!=
0
&&
boot
.
status
[
0
]
!=
255
)
{
if
(
boot
.
status
[
0
]
!=
0
&&
boot
.
status
[
0
]
!=
(
char
)
255
)
{
printf
(
"Boot status: %.*s
\n
"
,
(
int
)
sizeof
(
boot
.
status
),
boot
.
status
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment