I should probably have mentioned that I only introduced the extra variable "p" as a result of getting exactly the same error with the more direct approach:
printf(classname == "CALayer" ? "CFRetain(CALayer)\n" : ""); Anyway, thanks again to Adam for providing a clear solution! -- This message posted from opensolaris.org _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org