--- a/recording.c +++ b/recording.c @@ -86,5 +86,6 @@ if (status == -1) perror ("SOUND_PCM_SYNC ioctl failed"); } + return EXIT_SUCCESS; }