summaryrefslogtreecommitdiff
path: root/tests/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/main.c')
-rw-r--r--tests/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.c b/tests/main.c
index ce05af3..0020ac7 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -37,7 +37,7 @@ logger(lt_message_type_t type,
const char *message,
lt_pointer_t user_data)
{
- lt_error_set(&error, type, message);
+ lt_error_set(&error, type, "%s", message);
}
static void