summaryrefslogtreecommitdiffstats
path: root/audio/ctl_bluetooth.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-04-27 05:27:50 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-04-27 05:27:50 +0000
commit37cf1720b4b90bf2ad23b07d89c641959dcd9cab (patch)
treed9b0eeeb878b52af718df4174f899b6f06c60472 /audio/ctl_bluetooth.c
parent24795de83b9f2b24bd128707770387bcddad4367 (diff)
Fix some debug outputs
Diffstat (limited to 'audio/ctl_bluetooth.c')
-rw-r--r--audio/ctl_bluetooth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/ctl_bluetooth.c b/audio/ctl_bluetooth.c
index 037cfb09..bcc37659 100644
--- a/audio/ctl_bluetooth.c
+++ b/audio/ctl_bluetooth.c
@@ -108,7 +108,7 @@ static snd_ctl_ext_key_t bluetooth_find_elem(snd_ctl_ext_t *ext,
static int bluetooth_get_attribute(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key,
int *type, unsigned int *acc, unsigned int *count)
{
- DBG("ext %p key %td", ext, key);
+ DBG("ext %p key %ld", ext, key);
*type = SND_CTL_ELEM_TYPE_INTEGER;
*acc = SND_CTL_EXT_ACCESS_READWRITE;
@@ -120,7 +120,7 @@ static int bluetooth_get_attribute(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key,
static int bluetooth_get_integer_info(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key,
long *imin, long *imax, long *istep)
{
- DBG("ext %p key %td", ext, key);
+ DBG("ext %p key %ld", ext, key);
*istep = 1;
*imin = BLUETOOTH_MINVOL;
@@ -136,7 +136,7 @@ static int bluetooth_read_integer(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key,
unsigned char buf[] = { 0x00, 0x00 };
int len;
- DBG("ext %p key %td", ext, key);
+ DBG("ext %p key %ld", ext, key);
len = write(data->sock, buf, sizeof(buf));
@@ -152,7 +152,7 @@ static int bluetooth_write_integer(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key,
unsigned char buf[] = { 0xff, 0xff };
int len;
- DBG("ext %p key %td", ext, key);
+ DBG("ext %p key %ld", ext, key);
len = write(data->sock, buf, sizeof(buf));