From efcfad7c009502b2951a2408df3a94b83934e288 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 20 Oct 2008 01:10:11 +0300 Subject: Get rid of format string warnings with recent gcc versions Recent gcc versions, like 4.3.2 from ubuntu intrepid, give warnings like "format not a string literal and no format arguments" without this patch. --- tools/hciconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/hciconfig.c') diff --git a/tools/hciconfig.c b/tools/hciconfig.c index 25dda601..7c595f08 100644 --- a/tools/hciconfig.c +++ b/tools/hciconfig.c @@ -693,7 +693,7 @@ static void cmd_class(int ctl, int hdev, char *opt) if (cls[2] & (1 << s)) { if (!first) printf(", "); - printf(services[s]); + printf("%s", services[s]); first = 0; } } else -- cgit