summaryrefslogtreecommitdiff
path: root/audio/cdparanoia/files/patch-main.c
blob: f34b292b307b835b93d3942ec650cae7fe5e1386 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- main.c.orig	2019-07-23 18:12:13 UTC
+++ main.c
@@ -588,10 +588,10 @@ static void callback(long inpos, int function){
 	    buffer[aheadposition+19]='>';
 	}
    
-	fprintf(stderr,buffer);
+	fprintf(stderr,"%s",buffer);
        
 	if (logfile != NULL && function==-1) {
-	  fprintf(logfile,buffer+1);
+	  fprintf(logfile,"%s",buffer+1);
 	  fprintf(logfile,"\n\n");
 	  fflush(logfile);
 	}