Skip to content

Commit

Permalink
core: improve cfg_getptr_* error msg
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Klotzbuecher <mk@mkio.de>
  • Loading branch information
kmarkus committed Nov 29, 2019
1 parent c32b588 commit 277a4b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libubx/ubx.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ long int function_name(ubx_block_t* b, const char* cfg_name, const typename** va
} \
\
if(t != c->type) { \
ubx_err(b, "mismatch: expected %s but %s.%s config is of type %s", \
t->name, b->name, cfg_name, c->type->name); \
ubx_err(b, "%s: mismatch: expected %s but config %s is of type %s", \
__FUNCTION__, t->name, cfg_name, c->type->name); \
goto out; \
} \
\
Expand Down

0 comments on commit 277a4b2

Please sign in to comment.