]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Fix trivial error in a debug message.
authorMike Brady <mikebrady@eircom.net>
Wed, 2 Jan 2019 22:40:48 +0000 (22:40 +0000)
committerMike Brady <mikebrady@eircom.net>
Wed, 2 Jan 2019 22:40:48 +0000 (22:40 +0000)
audio_alsa.c

index c41c5a063de08e81afd27d7dcd2443437cd6ca55..26aac7b00d820f48ecb75d90c27a129a1c8449a2 100644 (file)
@@ -1081,7 +1081,7 @@ int delay_prep_and_status(snd_pcm_state_t *state, snd_pcm_sframes_t *delay) {
         measurement_data_is_valid = 0;
 
         if ((*state != SND_PCM_STATE_PREPARED)) {
-          debug(1, "alsa: can't get device into valid state in delay. State is %d.", state);
+          debug(1, "alsa: can't get device into valid state in delay. State is %d.", *state);
           ret = sps_extra_code_output_state_cannot_make_ready;
         }
       }