commit | 8d5f2f9726144b7213c761951db71140856a42a5 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Fri May 14 10:50:03 2010 -0700 |
committer | Nick Kralevich <nnk@google.com> | Fri May 14 10:50:03 2010 -0700 |
tree | ba6e69c501260def9ea4988e95d28bc825ebdbb1 | |
parent | 58a59517c49aa1153cf4c5813ac4829e88ca8f48 [diff] |
Get rid of warnings when compiled with -Wformat-security Change-Id: I0297f9e3cccdb7adf1aed583539b84c6c06e3f5e
diff --git a/portable/src/plog.c b/portable/src/plog.c index 3aefbc7..3812e72 100644 --- a/portable/src/plog.c +++ b/portable/src/plog.c
@@ -492,7 +492,7 @@ if ( ( strncmp ( log_text, FILTER_MSG_1, FILTER_MSG_1_SIZE ) != 0 ) && ( strncmp ( log_text, FILTER_MSG_2, FILTER_MSG_2_SIZE ) != 0 ) ) { - LOGE ( log_text ); + LOGE ("%s", log_text ); } rc = 0; #else