Subject: -current build failure
To: None <current-users@netbsd.org>
From: Chris Jones <cjones@rupert.honors.montana.edu>
List: current-users
Date: 07/04/1999 08:54:12
Platform i386, supped this morning.
cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Werror -DIPSEC -c ping.c
cc1: warnings being treated as errors
ping.c: In function `main':
ping.c:549: warning: null format string
*** Error code 1
--- ping.c.orig Sun Jul 4 08:47:45 1999
+++ ping.c Sun Jul 4 08:49:09 1999
@@ -1,4 +1,4 @@
-/* $NetBSD: ping.c,v 1.50 1999/07/02 04:53:24 itojun Exp $ */
+/* $NetBSD: ping.c,v 1.50 1999/07/02 04:53:24 itojun Exp $
*/
/*
* Copyright (c) 1989, 1993
@@ -546,7 +546,7 @@
if ((len = ipsec_set_policy(buf, len, policy)) < 0)
errx(1, ipsec_strerror());
if (setsockopt(s, IPPROTO_IP, IP_IPSEC_POLICY, buf,
len) < 0)
- err(1, NULL);
+ err(1, "setsockopt");
free(buf);
}
if ((len = ipsec_get_policylen("bypass")) < 0)
Chris
--
-----------------------------------------------------cjones@math.montana.edu
Chris Jones cjones@honors.montana.edu
Mad scientist at large cjones@nervana.montana.edu
"Is this going to be a stand-up programming session, sir, or another bug hunt?"