Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/traceroute6 Squash some NULL printf format warnings...
details: https://anonhg.NetBSD.org/src/rev/fad830e12eab
branches: trunk
changeset: 474283:fad830e12eab
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri Jul 02 18:13:45 1999 +0000
description:
Squash some NULL printf format warnings, providing better error messages
to the user in the process.
diffstat:
usr.sbin/traceroute6/traceroute6.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 2c713d7c0ae5 -r fad830e12eab usr.sbin/traceroute6/traceroute6.c
--- a/usr.sbin/traceroute6/traceroute6.c Fri Jul 02 17:52:36 1999 +0000
+++ b/usr.sbin/traceroute6/traceroute6.c Fri Jul 02 18:13:45 1999 +0000
@@ -527,7 +527,7 @@
errx(1, ipsec_strerror());
if (setsockopt(rcvsock, IPPROTO_IPV6, IPV6_IPSEC_POLICY,
buf, len) < 0)
- err(1, NULL);
+ err(1, "Unable to set IPSec policy");
}
#else
{
@@ -586,7 +586,7 @@
errx(1, ipsec_strerror());
if (setsockopt(sndsock, IPPROTO_IPV6, IPV6_IPSEC_POLICY,
buf, len) < 0)
- err(1, NULL);
+ err(1, "Unable to set IPSec policy");
}
#else
{
Home |
Main Index |
Thread Index |
Old Index