Print error when can't complete `read` system call.