12159 truss psflags printing is broken
@@ -1628,13 +1628,16 @@ (void) strlcat(str, "|PROC_SEC_NOEXECSTACK", sizeof (str)); secflag_clear(&val, PROC_SEC_NOEXECSTACK); } + if (val != 0) { len = strlen(str); ptr = str + len; (void) snprintf(ptr, sizeof (str) - len, "|%#x", val); + } + outstring(pri, str + 1); } /* * Print a psecflags(2) delta