Modifying software to detect and correct latent faults before they manifest as operational failures in the future is:
ACorrective Maintenance
BAdaptive Maintenance
CEmergency Maintenance
DPreventive Maintenance
