summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rrenumd
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-11-19 13:30:36 +0000
committerkris <kris@FreeBSD.org>2000-11-19 13:30:36 +0000
commit3cafbeab6d2974ec74515a738255486d7d38676c (patch)
tree921b60e49cd3d548ba5678d3321eb16a1bf8d939 /usr.sbin/rrenumd
parent993abb53dc91a812eaf30811f6f23c48d69b230b (diff)
downloadFreeBSD-src-3cafbeab6d2974ec74515a738255486d7d38676c.zip
FreeBSD-src-3cafbeab6d2974ec74515a738255486d7d38676c.tar.gz
Format string paranoia
Diffstat (limited to 'usr.sbin/rrenumd')
-rw-r--r--usr.sbin/rrenumd/rrenumd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rrenumd/rrenumd.c b/usr.sbin/rrenumd/rrenumd.c
index 9d150ac..fa3257d 100644
--- a/usr.sbin/rrenumd/rrenumd.c
+++ b/usr.sbin/rrenumd/rrenumd.c
@@ -293,7 +293,7 @@ sock6_open(struct flags *flags
char *buf;
buf = ipsec_set_policy(policy, strlen(policy));
if (buf == NULL)
- errx(1, ipsec_strerror());
+ errx(1, "%s", ipsec_strerror());
/* XXX should handle in/out bound policy. */
if (setsockopt(s6, IPPROTO_IPV6, IPV6_IPSEC_POLICY,
buf, ipsec_get_policylen(buf)) < 0)
@@ -359,7 +359,7 @@ sock4_open(struct flags *flags
char *buf;
buf = ipsec_set_policy(policy, strlen(policy));
if (buf == NULL)
- errx(1, ipsec_strerror());
+ errx(1, "%s", ipsec_strerror());
/* XXX should handle in/out bound policy. */
if (setsockopt(s4, IPPROTO_IP, IP_IPSEC_POLICY,
buf, ipsec_get_policylen(buf)) < 0)
OpenPOWER on IntegriCloud