Oh, how exciting! The inspector will probably find some stuff, too. You'll most likely be able negotiate (some of) the cost of repairs off the agreed upon price, or walk away if they there's something big.

I hope you get a great deal!