From: Johan Hedberg <[email protected]>

This patch fixes the following warning/error:

tools/web-test.c: In function ‘main’:
tools/web-test.c:134: error: format not a string literal and no format arguments
---
 tools/web-test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/web-test.c b/tools/web-test.c
index 9027a2d..8a661cf 100644
--- a/tools/web-test.c
+++ b/tools/web-test.c
@@ -131,7 +131,7 @@ int main(int argc, char *argv[])
        }
 
        if (option_user_agent != NULL) {
-               g_web_set_user_agent(web, option_user_agent);
+               g_web_set_user_agent(web, "%s", option_user_agent);
                g_free(option_user_agent);
        }
 
-- 
1.7.1

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to