drc: use print wrapper to output errors