diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-20 01:40:41 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-20 01:40:41 +0300 |
commit | af44ab3ae754e717e3c168b82f68a8be5f17cf61 (patch) | |
tree | f61b918b7560cbd36dbe4f79bda3785f149686b4 /compat | |
parent | efcfad7c009502b2951a2408df3a94b83934e288 (diff) |
Fix another format string warning
Diffstat (limited to 'compat')
-rw-r--r-- | compat/sdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/sdp.c b/compat/sdp.c index 9463c94c..73015f88 100644 --- a/compat/sdp.c +++ b/compat/sdp.c @@ -161,7 +161,7 @@ int get_stored_device_info(const bdaddr_t *src, const bdaddr_t *dst, struct hidp req->country = country; req->parser = parser; - snprintf(req->name, 128, str + pos); + snprintf(req->name, 128, "%s", str + pos); req->rd_size = strlen(desc) / 2; req->rd_data = malloc(req->rd_size); |