diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2010-11-21 21:41:37 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-11-21 21:43:52 +0100 |
commit | 74558dc6e12fb842de39fecc45d81b4d84b251e3 (patch) | |
tree | f6a59dafc17ce24040a1b012d563a99f82606071 /tools | |
parent | 1b719b9e6045b3ff30dd7ba4518d9d358a10e479 (diff) | |
download | connman-74558dc6e12fb842de39fecc45d81b4d84b251e3.tar.gz connman-74558dc6e12fb842de39fecc45d81b4d84b251e3.tar.bz2 connman-74558dc6e12fb842de39fecc45d81b4d84b251e3.zip |
Fix compilation warning/error with g_web_set_user_agent usage
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
Diffstat (limited to 'tools')
-rw-r--r-- | 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 9027a2d5..8a661cf6 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); } |