An engine control unit diagnoses whether or not a unit that controls a
variable valve apparatus is failed, and when it is diagnosed that the
unit is failed, the engine control unit shuts off the power supply to a
drive circuit for an actuator of the variable valve apparatus.