summaryrefslogtreecommitdiff
path: root/www/weex/patches/patch-ad
blob: e39e4e52e4f9f6ff043b4e316455c96a9fe83905 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ad,v 1.1 2005/10/05 13:38:13 salo Exp $

Fix for SA17028, via FreeBSD.

--- src/log.c.orig	2000-05-03 16:42:05.000000000 +0200
+++ src/log.c	2005-10-05 15:31:06.000000000 +0200
@@ -182,7 +182,7 @@
 
 	fp=log_open();
 	for(i=0;i<max_log;i++){
-		fprintf(fp,log_str[i]);
+		fprintf(fp,"%s",log_str[i]);
 		free(log_str[i]);
 	}
 	free(log_str);