summaryrefslogtreecommitdiffstats
path: root/tools/hciconfig.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-20 01:10:11 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-20 01:10:11 +0300
commitefcfad7c009502b2951a2408df3a94b83934e288 (patch)
tree464e9094844e5a7e4e80a476088491608bed939e /tools/hciconfig.c
parent0c1d6232e7b4c39d33dfcc759bd19f050d7953e7 (diff)
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.
Diffstat (limited to 'tools/hciconfig.c')
-rw-r--r--tools/hciconfig.c2
1 files changed, 1 insertions, 1 deletions
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