diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-06-07 00:00:06 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-06-07 00:00:06 +0000 |
commit | 2fcda941f4174300bf704a16ede06cc891ec5273 (patch) | |
tree | 2619f16496bb8b5c1a99f09ef5dad2b1abf3e0fc /security/aide | |
parent | Don't assume pod2man is in /usr/bin. (diff) |
Fix a couple of fprintf format string errors
Notes
Notes:
svn path=/head/; revision=60733
Diffstat (limited to 'security/aide')
-rw-r--r-- | security/aide/files/patch-aa | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/security/aide/files/patch-aa b/security/aide/files/patch-aa index 8996fbd21aaf..4ad347bc404a 100644 --- a/security/aide/files/patch-aa +++ b/security/aide/files/patch-aa @@ -1,5 +1,5 @@ --- src/db_file.c.orig Thu Apr 20 05:44:56 2000 -+++ src/db_file.c Thu Jul 13 07:39:36 2000 ++++ src/db_file.c Thu Jun 6 16:56:48 2002 @@ -212,7 +212,7 @@ if((retval=fork())==0){ /* The child process */ @@ -9,3 +9,21 @@ /* WARNING This causes weird problems. Don't do it. fclose(conf->db_in); */ +@@ -447,7 +447,7 @@ + } + + if(tmpstr){ +- retval=fprintf(file,tmpstr); ++ retval=fprintf(file,"%s",tmpstr); + free(tmpstr); + return retval; + }else { +@@ -484,7 +484,7 @@ + + + tmpstr=encode_base64(ptr,strlen(ptr)); +- retval=fprintf(file,tmpstr); ++ retval=fprintf(file,"%s",tmpstr); + free(tmpstr); + free(ptr); + |