Depreciation error - Journal entries

Let's say there is an error in how a company calculates depreciation. In year 2, a company buys equipment for $10,000 and expenses all of it instead of depreciating on a straight line basis over 4 years. In year 3, they correct the error. What are the journal entries for year 3?