From 98c4729007fa8ce485c691bede692cc80ce6c90b Mon Sep 17 00:00:00 2001 From: Martin Vajnar Date: Thu, 12 Sep 2013 21:18:12 +0200 Subject: [PATCH] ORTE: fix compiler warning This allows compilation with Android NDK r9 (treats some warnings as errors). --- orte/liborte/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orte/liborte/debug.c b/orte/liborte/debug.c index 9cec2dc..86d1426 100644 --- a/orte/liborte/debug.c +++ b/orte/liborte/debug.c @@ -91,7 +91,7 @@ void db_print_output(const char *format) { #ifndef CONFIG_ORTE_RT if (debug_log == NULL) return; - fprintf(debug_log, format); + fprintf(debug_log, "%s", format); fflush(debug_log); #else rtl_printf(format); -- 2.39.2