diff options
Diffstat (limited to 'usr/src/lib/libproc/common/Pstack.c')
-rw-r--r-- | usr/src/lib/libproc/common/Pstack.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/lib/libproc/common/Pstack.c b/usr/src/lib/libproc/common/Pstack.c index f0f8b5ce8d..fde462c0e2 100644 --- a/usr/src/lib/libproc/common/Pstack.c +++ b/usr/src/lib/libproc/common/Pstack.c @@ -24,8 +24,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * Pstack.c * @@ -176,7 +174,7 @@ load_uclist(uclist_t *ucl, const lwpstatus_t *psp) uint_t new_size, i; ucontext_t uc; - if (addr == NULL) + if (addr == (uintptr_t)NULL) return (0); for (;;) { @@ -214,7 +212,7 @@ load_uclist(uclist_t *ucl, const lwpstatus_t *psp) * entry which could indicate a cycle or a very peculiar * interference pattern between threads. */ - if (addr == NULL) + if (addr == (uintptr_t)NULL) break; for (i = 0; i < ucl->uc_nelems - 1; i++) { |