diff options
author | Toomas Soome <tsoome@me.com> | 2019-01-21 20:03:20 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-06-25 23:14:04 +0300 |
commit | a6313a9d1cea800172e9672443e1496d90d4fbcf (patch) | |
tree | 47823b7bbf8c25b66c98a224a4b9037c41dfd6b4 /usr/src/lib/libumem/common/misc.c | |
parent | eb633035c80613ec93d62f90482837adaaf21a0a (diff) | |
download | illumos-gate-a6313a9d1cea800172e9672443e1496d90d4fbcf.tar.gz |
11119 libumem: NULL pointer errors
Reviewed by: John Levon <john.levon@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libumem/common/misc.c')
-rw-r--r-- | usr/src/lib/libumem/common/misc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/lib/libumem/common/misc.c b/usr/src/lib/libumem/common/misc.c index a3da9e5b05..6d809e19e0 100644 --- a/usr/src/lib/libumem/common/misc.c +++ b/usr/src/lib/libumem/common/misc.c @@ -24,8 +24,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <unistd.h> #include <dlfcn.h> #include <signal.h> @@ -244,7 +242,7 @@ print_sym(void *pointer) int result; Dl_info sym_info; - uintptr_t end = NULL; + uintptr_t end = (uintptr_t)NULL; Sym *ext_info = NULL; |