Depends also on how well it was specified in the first place. If it is under powered and getting hot, it's never going to last as long as one designed for the load and working within the optimum range.

Switch mode power supplies tend to go with a bang when they go, but can be fixed quite cheaply. It's just knowing what has gone bang and having the right test gear. Quite often it's more than one component that has gone, with a capacitor or similar going first, leading to a cascade of failures.