From 598b76cc5332e196518a9ec6d722ebaeb3781a9c Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 12 Jun 2018 09:41:44 +0200 Subject: Make sure the arguments passed to printf/die(...) match the format Signed-off-by: Olivier Gayot --- src/print_volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/print_volume.c') diff --git a/src/print_volume.c b/src/print_volume.c index be6a1d7..e28a132 100644 --- a/src/print_volume.c +++ b/src/print_volume.c @@ -151,7 +151,7 @@ void print_volume(yajl_gen json_gen, char *buffer, const char *fmt, const char * snd_mixer_selem_id_set_index(sid, mixer_idx); snd_mixer_selem_id_set_name(sid, mixer); if (!(elem = snd_mixer_find_selem(m, sid))) { - fprintf(stderr, "i3status: ALSA: Cannot find mixer %s (index %i)\n", + fprintf(stderr, "i3status: ALSA: Cannot find mixer %s (index %u)\n", snd_mixer_selem_id_get_name(sid), snd_mixer_selem_id_get_index(sid)); snd_mixer_close(m); snd_mixer_selem_id_free(sid); -- cgit v1.2.3