summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-aout
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-09-18 14:08:40 +0000
committerphk <phk@FreeBSD.org>1997-09-18 14:08:40 +0000
commitd8ac4091605cafeed429956439b3365036470356 (patch)
tree86f85152c10afe3de06afc06d7738c614a3210cb /libexec/rtld-aout
parent2d831c7d21d4e39820d9fe862e7ec818476c083b (diff)
downloadFreeBSD-src-d8ac4091605cafeed429956439b3365036470356.zip
FreeBSD-src-d8ac4091605cafeed429956439b3365036470356.tar.gz
Many places in the code NULL is used in integer context, where
plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
Diffstat (limited to 'libexec/rtld-aout')
-rw-r--r--libexec/rtld-aout/rtld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rtld-aout/rtld.c b/libexec/rtld-aout/rtld.c
index 452e6ff..e3debe5 100644
--- a/libexec/rtld-aout/rtld.c
+++ b/libexec/rtld-aout/rtld.c
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: rtld.c,v 1.47 1997/08/02 04:56:44 jdp Exp $
+ * $Id: rtld.c,v 1.48 1997/08/19 23:33:45 nate Exp $
*/
#include <sys/param.h>
@@ -2117,7 +2117,7 @@ struct env_scan_tab {
L("LD_BIND_NOW=", 0, &ld_bind_now)
L("LD_SUPPRESS_WARNINGS=", 0, &ld_suppress_warnings)
L("LD_WARN_NON_PURE_CODE=", 0, &ld_warn_non_pure_code)
- { NULL, 0, NULL }
+ { NULL, 0, 0, NULL }
};
#undef L
OpenPOWER on IntegriCloud