Thursday 16 September 2010

Typing error

Spent days trying to debug and understand dtrace with this line:


inline struct psinfo_t *curpsinfo = ((struct ps_info_t *) `curproc);


I was following the type casting and type comparing code.

Eventually I spotted a stray underscore.

Can you spot it?

Post created by CRiSP v10.0.2b-b5891


No comments:

Post a Comment