code: plan9front

Download patch

ref: 6103d6ed2cff0be93d00a0a774b1c6ebb7071831
parent: 5d328689de7b4b8ba6941660caec4a6047ef3206
author: Sigrid <ftrvxmtrx@gmail.com>
date: Tue Jan 12 06:15:18 EST 2021

audio/flacenc: missed an argument in fprintf()

--- a/sys/src/cmd/audio/flacenc/flacenc.c
+++ b/sys/src/cmd/audio/flacenc/flacenc.c
@@ -65,7 +65,7 @@
 	case 'b':
 		bits = atoi(EARGF(usage()));
 		if(bits <= 8 || bits > 32){
-			fprintf(stderr, "bits per sample = %d not supported\n");
+			fprintf(stderr, "bits per sample = %d not supported\n", bits);
 			exit(1);
 		}
 		break;