The sentences mean the same thing. This is an example of passive and active voice of verbs. This is easily seen in a sentence such as, "The boy threw the ball." That's active voice, and the subject
I think these two sentences sound fine, but they have absolutely different meanings. The first sentence sounds to me like you're telling somebody that the teacher has looked through your essay and made some corrections. The second one tells me that you forced (somehow) your teacher to correct the assay. That's how I see it.