Update print_error to reflect new usage