Permalink
Browse files

Fix a segfault in TextLog_Print() by using %d for classification ID, …

…as it's a 'uint32_t'.
  • Loading branch information...
1 parent f57e464 commit d21c7ee8097a30074f168ca11b38354ad3a72807 Reed Loden committed Feb 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/log_text.c
View
@@ -92,7 +92,7 @@ void LogPriorityData(TextLog* log, uint32_t classification_id, uint32_t priority
else
{
TextLog_Print(
- log, "[Classification ID: %s] [Priority ID: %d] ",
+ log, "[Classification ID: %d] [Priority ID: %d] ",
classification_id, priority_id
);
}

0 comments on commit d21c7ee

Please sign in to comment.