Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tammo Jan Dijkema
dt_ctrl
Commits
12d529bc
Commit
12d529bc
authored
Dec 10, 2013
by
Michel Roelofs
Browse files
Fix: pass const string "%s" with variable string i.s.o. variable string directly
parent
81634f78
Changes
1
Hide whitespace changes
Inline
Side-by-side
controller/ec/esc_mailbox.c
View file @
12d529bc
...
...
@@ -70,7 +70,7 @@ static void esc_error_handler_default(void *msg, size_t len)
for
(
i
=
0
;
i
<
len
;
i
++
)
{
pos
+=
sprintf
(
msgstr
+
pos
,
" 0x%02x"
,
msgb
[
i
]);
}
log_send
(
LOG_T_ERROR
,
msgstr
);
log_send
(
LOG_T_ERROR
,
"%s"
,
msgstr
);
}
struct
esc_mailbox
*
esc_mailbox_create
(
struct
ec_dgram_addr
*
node
,
...
...
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