Update set_static_radii.c

Fixed the conditional Tracing issue here, added the return type of ERR_MSG