summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/cmd/demangle/demangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/demangle/demangle.c b/usr/src/cmd/demangle/demangle.c
index 33a68edc9e..76c02e3f53 100644
--- a/usr/src/cmd/demangle/demangle.c
+++ b/usr/src/cmd/demangle/demangle.c
@@ -183,7 +183,7 @@ do_demangle(const char *sym, sysdem_lang_t lang, FILE *out)
{
char *demangled = sysdemangle(sym, lang, NULL);
- if (demangled == NULL && errno != EINVAL) {
+ if (demangled == NULL && errno != EINVAL && errno != ENOTSUP) {
warn(_("error while demangling '%s'"), sym);
return (-1);
}