commit | 4f55adc323a32cf2c7fb851fab86c9372e3b2cbf | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Thu May 13 16:10:23 2010 -0700 |
committer | Nick Kralevich <nnk@google.com> | Thu May 13 16:10:23 2010 -0700 |
tree | ed90a82a344dddb60c6d0f574d88405a91459a02 | |
parent | 0253ffdee4c6ef3652219b1ce07f9db366ca10fa [diff] |
Get rid of warnings when compiled with -Wformat-security Change-Id: Ib38b2c152474ed83be1a5716457d0b374c0e5c68
diff --git a/libnetutils/dhcpclient.c b/libnetutils/dhcpclient.c index 45e392a..6755ba1 100644 --- a/libnetutils/dhcpclient.c +++ b/libnetutils/dhcpclient.c
@@ -70,7 +70,7 @@ vsnprintf(errmsg, sizeof(errmsg), fmt, ap); va_end(ap); - LOGD(errmsg); + LOGD("%s", errmsg); } const char *dhcp_lasterror()