diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-03-16 15:41:12 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-03-16 15:41:12 +0000 |
commit | d8ebeb5c1882685478f7aff85d3cfd52cb45385b (patch) | |
tree | 6a871a498e943d359bc98a18b415e916ac0ef2b6 /libexec/ld.so | |
parent | 043c400f909ee0b4431a6657c5b1550df8ab4c83 (diff) |
More "(<blah> *)0" -> NULL, avoiding any stdarg functions.
Feedback millert@ kettenis@
Diffstat (limited to 'libexec/ld.so')
-rw-r--r-- | libexec/ld.so/dlfcn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/dlfcn.c b/libexec/ld.so/dlfcn.c index 3da0e824f79..620e58517ef 100644 --- a/libexec/ld.so/dlfcn.c +++ b/libexec/ld.so/dlfcn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dlfcn.c,v 1.92 2015/12/22 08:54:16 mmcc Exp $ */ +/* $OpenBSD: dlfcn.c,v 1.93 2016/03/16 15:41:10 krw Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -599,7 +599,7 @@ dladdr(const void *addr, Dl_info *info) info->dli_fname = (char *)object->load_name; info->dli_fbase = (void *)object->load_base; info->dli_sname = NULL; - info->dli_saddr = (void *)0; + info->dli_saddr = NULL; /* * Walk the symbol list looking for the symbol whose address is |