Fix printf without supplied argument

This commit is contained in:
Robert Ancell 2017-12-06 13:45:58 +13:00
parent 84087213f1
commit 9f671ca77b

View File

@ -41,7 +41,7 @@ audio_selection_needed (GvcMixerControl *volume,
args[n] = NULL; args[n] = NULL;
g_print ("+++ Audio selection needed for id %d\n", id); g_print ("+++ Audio selection needed for id %d\n", id);
g_print (" Choices are: %s\n"); g_print (" Choices are:\n");
for (i = 0; args[i] != NULL; i++) for (i = 0; args[i] != NULL; i++)
g_print (" %d. %s\n", i + 1, args[i]); g_print (" %d. %s\n", i + 1, args[i]);