summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorderaadt <>2000-07-07 20:59:47 +0000
committerderaadt <>2000-07-07 20:59:47 +0000
commit123edfa10cd441942267fef4a093c5f856f911e1 (patch)
tree7eb13979adab2a5d259f1d5f8ebfda9072afeeaf /src/lib
parent9943c2ae44ef098f1ba3e295a7217e125bdfb91a (diff)
downloadopenbsd-123edfa10cd441942267fef4a093c5f856f911e1.tar.gz
openbsd-123edfa10cd441942267fef4a093c5f856f911e1.tar.bz2
openbsd-123edfa10cd441942267fef4a093c5f856f911e1.zip
use %s with fprintf
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libc/net/res_debug.c6
-rw-r--r--src/lib/libcrypto/rc4/rc4.c2
-rw-r--r--src/lib/libssl/src/crypto/rc4/rc4.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libc/net/res_debug.c b/src/lib/libc/net/res_debug.c
index c2725395a0..e1894b1508 100644
--- a/src/lib/libc/net/res_debug.c
+++ b/src/lib/libc/net/res_debug.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_debug.c,v 1.9 1998/03/19 00:30:06 millert Exp $ */ 1/* $OpenBSD: res_debug.c,v 1.10 2000/07/07 20:59:47 deraadt Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1985, 1990, 1993 4 * ++Copyright++ 1985, 1990, 1993
@@ -82,7 +82,7 @@
82static char sccsid[] = "@(#)res_debug.c 8.1 (Berkeley) 6/4/93"; 82static char sccsid[] = "@(#)res_debug.c 8.1 (Berkeley) 6/4/93";
83static char rcsid[] = "$From: res_debug.c,v 8.19 1996/11/26 10:11:23 vixie Exp $"; 83static char rcsid[] = "$From: res_debug.c,v 8.19 1996/11/26 10:11:23 vixie Exp $";
84#else 84#else
85static char rcsid[] = "$OpenBSD: res_debug.c,v 1.9 1998/03/19 00:30:06 millert Exp $"; 85static char rcsid[] = "$OpenBSD: res_debug.c,v 1.10 2000/07/07 20:59:47 deraadt Exp $";
86#endif 86#endif
87#endif /* LIBC_SCCS and not lint */ 87#endif /* LIBC_SCCS and not lint */
88 88
@@ -204,7 +204,7 @@ do_rrset(msg, len, cp, cnt, pflag, file, hs)
204 if ((n = ntohs(cnt))) { 204 if ((n = ntohs(cnt))) {
205 if ((!_res.pfcode) || 205 if ((!_res.pfcode) ||
206 ((sflag) && (_res.pfcode & RES_PRF_HEAD1))) 206 ((sflag) && (_res.pfcode & RES_PRF_HEAD1)))
207 fprintf(file, hs); 207 fprintf(file, "%s", hs);
208 while (--n >= 0) { 208 while (--n >= 0) {
209 if ((!_res.pfcode) || sflag) { 209 if ((!_res.pfcode) || sflag) {
210 cp = p_rr(cp, msg, file); 210 cp = p_rr(cp, msg, file);
diff --git a/src/lib/libcrypto/rc4/rc4.c b/src/lib/libcrypto/rc4/rc4.c
index 709b7aff35..bfb0a3c1f9 100644
--- a/src/lib/libcrypto/rc4/rc4.c
+++ b/src/lib/libcrypto/rc4/rc4.c
@@ -113,7 +113,7 @@ int main(int argc, char *argv[])
113 { 113 {
114bad: 114bad:
115 for (pp=usage; (*pp != NULL); pp++) 115 for (pp=usage; (*pp != NULL); pp++)
116 fprintf(stderr,*pp); 116 fprintf(stderr,"%s",*pp);
117 exit(1); 117 exit(1);
118 } 118 }
119 119
diff --git a/src/lib/libssl/src/crypto/rc4/rc4.c b/src/lib/libssl/src/crypto/rc4/rc4.c
index 709b7aff35..bfb0a3c1f9 100644
--- a/src/lib/libssl/src/crypto/rc4/rc4.c
+++ b/src/lib/libssl/src/crypto/rc4/rc4.c
@@ -113,7 +113,7 @@ int main(int argc, char *argv[])
113 { 113 {
114bad: 114bad:
115 for (pp=usage; (*pp != NULL); pp++) 115 for (pp=usage; (*pp != NULL); pp++)
116 fprintf(stderr,*pp); 116 fprintf(stderr,"%s",*pp);
117 exit(1); 117 exit(1);
118 } 118 }
119 119