Commit 12d529bc authored by Michel Roelofs's avatar Michel Roelofs
Browse files

Fix: pass const string "%s" with variable string i.s.o. variable string directly

parent 81634f78
......@@ -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,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment