Date: Mon, 29 Nov 2010 15:07:18 -0500 From: Michael Butler <imb@protected-networks.net> To: current@FreeBSD.org Subject: kern_sysctl.c compilation failure Message-ID: <4CF407F6.6070803@protected-networks.net>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------000005010303040106030000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Seems that 'treat warnings as errors' snags on this .. patch attached, imb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAkz0B/YACgkQQv9rrgRC1JKLBgCeNhKn2W6Z2XFN/zt70PbFhKbP eHcAoIwI0Iz0g5TmU/pjbnG8zlcY6a1y =a/KQ -----END PGP SIGNATURE----- --------------000005010303040106030000 Content-Type: text/x-diff; name="kern_sysctl.c.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kern_sysctl.c.patch" *** src/sys/kern/kern_sysctl.c~ Mon Nov 29 14:02:22 2010 --- src/sys/kern/kern_sysctl.c Mon Nov 29 14:32:56 2010 *************** *** 845,851 **** sysctl_sysctl_name2oid(SYSCTL_HANDLER_ARGS) { char *p; ! int error, oid[CTL_MAXNAME], len; struct sysctl_oid *op = 0; if (!req->newlen) --- 845,851 ---- sysctl_sysctl_name2oid(SYSCTL_HANDLER_ARGS) { char *p; ! int error, oid[CTL_MAXNAME], len = 0; struct sysctl_oid *op = 0; if (!req->newlen) --------------000005010303040106030000--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CF407F6.6070803>