Fix improper errno handling
[platform/core/multimedia/libmm-sound.git] / mm_sound_pa_client.c
index 552026e..c060761 100644 (file)
@@ -265,7 +265,7 @@ int mm_sound_pa_open(MMSoundHandleMode mode, int volume_config, pa_sample_spec *
                attr.tlength = (ss->rate / 10) * pa_sample_size(ss) * ss->channels;
                attr.maxlength = -1;
                attr.fragsize = 0;
-               debug_msg("rate(%d), samplesize(%d), ch(%d) format(%d)", ss->rate, pa_sample_size(ss), ss->channels, ss->format);
+               debug_msg("rate(%d), samplesize(%zu), ch(%d) format(%d)", ss->rate, pa_sample_size(ss), ss->channels, ss->format);
 
                debug_msg("prebuf(%d), minreq(%d), tlength(%d), maxlength(%d), fragsize(%d)", attr.prebuf, attr.minreq, attr.tlength,
                                  attr.maxlength, attr.fragsize);