OSDN Git Service

Fix wrong print format '%s' instead of '%d'.
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>
Fri, 27 Mar 2009 15:05:02 +0000 (12:05 -0300)
committerJohan Hedberg <johan.hedberg@nokia.com>
Fri, 27 Mar 2009 15:14:03 +0000 (17:14 +0200)
audio/unix.c

index ba60654..0c2b650 100644 (file)
@@ -830,7 +830,7 @@ static void start_open(struct audio_device *dev, struct unix_client *client)
                }
 
                if (!a2dp_sep_lock(a2dp->sep, a2dp->session)) {
-                       error("Unable to open seid %s", client->seid);
+                       error("Unable to open seid %d", client->seid);
                        a2dp->sep = NULL;
                        goto failed;
                }
@@ -847,7 +847,7 @@ static void start_open(struct audio_device *dev, struct unix_client *client)
 
                hs->locked = headset_lock(dev, client->lock);
                if (!hs->locked) {
-                       error("Unable to open seid %s", client->seid);
+                       error("Unable to open seid %d", client->seid);
                        goto failed;
                }
                break;