From 97751ff9d594a62238ed9450085df6e34fb4692e Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 10 Dec 2008 11:54:08 -0800 Subject: [PATCH] Fix bad cast --- zfs/lib/libumem/getpcstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zfs/lib/libumem/getpcstack.c b/zfs/lib/libumem/getpcstack.c index 8c3a47e19f..cc5e81a689 100644 --- a/zfs/lib/libumem/getpcstack.c +++ b/zfs/lib/libumem/getpcstack.c @@ -148,7 +148,7 @@ getpcstack(uintptr_t *pcstack, int pcstack_limit, int check_signal) break; else if (nextfp <= minfp || (tmp - base) >= size) { #ifndef UMEM_STANDALONE - if (tmp == NULL || !on_altstack) + if (tmp == 0 || !on_altstack) break; /* * If we're on an alternate signal stack, try jumping