Skip to content

Commit

Permalink
fixup assert string formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Tully Foote <[email protected]>
  • Loading branch information
tfoote committed Aug 2, 2019
1 parent 02d2654 commit dddf1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_assert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void test_assert(bool value)

void test_assert_msg(bool value, std::string message)
{
RCUTILS_ASSERT_MSG(value, message.c_str());
RCUTILS_ASSERT_MSG(value, "%s", message.c_str());
}


Expand Down

0 comments on commit dddf1b0

Please sign in to comment.