summaryrefslogtreecommitdiff
path: root/libexec/ld.so/dlfcn.c
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2015-12-22 08:54:17 +0000
committermmcc <mmcc@cvs.openbsd.org>2015-12-22 08:54:17 +0000
commita18d798c10619d3bbcd6d420d8658849539f6fd1 (patch)
treedc90c555a10ad2151be8322fb5e63c35481ac6c3 /libexec/ld.so/dlfcn.c
parent44cfc722cc5c6181c1822b7c4ac9c34d3fed2eeb (diff)
assign pointers to NULL rather than 0
Diffstat (limited to 'libexec/ld.so/dlfcn.c')
-rw-r--r--libexec/ld.so/dlfcn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/dlfcn.c b/libexec/ld.so/dlfcn.c
index 17b4fec4c25..3da0e824f79 100644
--- a/libexec/ld.so/dlfcn.c
+++ b/libexec/ld.so/dlfcn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dlfcn.c,v 1.91 2015/09/19 20:56:47 guenther Exp $ */
+/* $OpenBSD: dlfcn.c,v 1.92 2015/12/22 08:54:16 mmcc Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -119,7 +119,7 @@ dlopen(const char *libname, int flags)
if (err != 0) {
_dl_real_close(object);
_dl_errno = DL_CANT_LOAD_OBJ;
- object = 0;
+ object = NULL;
failed = 1;
} else {
_dl_call_init(object);