diff --git a/src/ia64/Gscript-ia64.c b/src/ia64/Gscript-ia64.c index 52b88f76..a8008408 100644 --- a/src/ia64/Gscript-ia64.c +++ b/src/ia64/Gscript-ia64.c @@ -520,7 +520,7 @@ ia64_find_save_locs (struct cursor *c) } if (ret < 0) { - if (ret != UNW_ESTOPUNWIND) + if (ret != -UNW_ESTOPUNWIND) dprintf ("%s: failed to locate/build unwind script for ip %lx\n", __FUNCTION__, (long) c->ip); goto out;