Do everything you can to get the house in good condition before you attempt to sell it, but don't be discouraged if the inspection report contains a few negative statements. Home inspectors make note of everything they see.
Remember that the home inspection report is not a wish-list for buyers. Read your contract carefully-it dictates which systems should be in good working order at closing. If the roof is older, but doesn't leak, it's in good working condition. The same is true for older appliances.
Your contract may also state that you are under no obligation to make any repairs at all-although the buyers can then likely withdraw from the contract. Don't feel you must comply with unreasonable demands for repairs.