From fbd6aa13599f085aa28d4ad1d38e4d942f40aef8 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Wed, 17 Jul 2013 00:25:11 -0300 Subject: [PATCH] qa-monitor: Fix typo in printf format for report debug messages Stringify the arguments correctly for printing --- validate/gst/qa/gst-qa-monitor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/validate/gst/qa/gst-qa-monitor.h b/validate/gst/qa/gst-qa-monitor.h index 6fa8db277a..b4f18e0d04 100644 --- a/validate/gst/qa/gst-qa-monitor.h +++ b/validate/gst/qa/gst-qa-monitor.h @@ -54,21 +54,21 @@ G_STMT_START { \ #define GST_QA_MONITOR_REPORT_CRITICAL(m, area, subarea, detail) \ G_STMT_START { \ GST_ERROR_OBJECT (m, "Critical report: %s: %s: %s", \ - "## area", "subarea ##", detail); \ + #area, #subarea, detail); \ GST_QA_MONITOR_REPORT(m, CRITICAL, area, subarea, detail); \ } G_STMT_END #define GST_QA_MONITOR_REPORT_WARNING(m, area, subarea, detail) \ G_STMT_START { \ GST_WARNING_OBJECT (m, "Warning report: %s: %s: %s", \ - "## area ##", "## subarea ##", detail); \ + #area, #subarea, detail); \ GST_QA_MONITOR_REPORT(m, WARNING, area, subarea, detail); \ } G_STMT_END #define GST_QA_MONITOR_REPORT_ISSUE(m, area, subarea, detail) \ G_STMT_START { \ GST_WARNING_OBJECT (m, "Issue report: %s: %s: %s", \ - "## area ##", "## subarea ##", detail); \ + #area, #subarea, detail); \ GST_QA_MONITOR_REPORT(m, ISSUE, area, subarea, detail); \ } G_STMT_END