diff options
author | will <will@FreeBSD.org> | 2014-12-17 00:22:41 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2014-12-17 00:22:41 +0000 |
commit | 860720e7d51be066836043afe3a6063e4d2835c8 (patch) | |
tree | 76266fa4cef228c01a28d86f9b37a4dbb3454ae1 /lib/libc/stdio/printf.c | |
parent | 22481bc2c20ca4fd2e3eb219fce7c3b16e226b98 (diff) | |
download | FreeBSD-src-860720e7d51be066836043afe3a6063e4d2835c8.zip FreeBSD-src-860720e7d51be066836043afe3a6063e4d2835c8.tar.gz |
Initialize an argument to NULL instead of expecting dlinfo() to do it.
dlinfo() is a weak reference that may not be initialized at the time of
execution. The default implementation (in lib/libc/gen/dlfcn.c) neither
modifies the address pointed to by the third argument nor returns an error.
Differential Revision: https://reviews.freebsd.org/D1326
Reviewed by: markj
MFC after: 1 week
Diffstat (limited to 'lib/libc/stdio/printf.c')
0 files changed, 0 insertions, 0 deletions