aboutsummaryrefslogtreecommitdiffhomepage
path: root/libao2
diff options
context:
space:
mode:
Diffstat (limited to 'libao2')
-rw-r--r--libao2/ao_alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_alsa.c b/libao2/ao_alsa.c
index 2bc0411ba2..45e95e623a 100644
--- a/libao2/ao_alsa.c
+++ b/libao2/ao_alsa.c
@@ -379,7 +379,7 @@ static int init(int rate_hz, int channels, int format, int flags)
s[3] = IEC958_AES3_CON_FS_48000;
snprintf(alsa_device, ALSA_DEVICE_SIZE,
- "iec958:{CARD 0 AES0 0x%2x AES1 0x%2x AES2 0x%2x AES3 0x%2x}",
+ "iec958:{CARD 0 AES0 0x%02x AES1 0x%02x AES2 0x%02x AES3 0x%02x}",
s[0], s[1], s[2], s[3]);
device.str = alsa_device;