sm_error
#define sm_error(p) (((p)->f_flags & SMERR) != 0)
#define sm_error(msg...) do { sm_print_msg(2, msg); } while (0)