The engine hood switch is installed to the engine hood lock, and detects the opening or closing of the engine hood. The BCM determines the opening or closing of the engine hood based on a signal input from the engine hood switch. If the BCM detects a malfunction in the engine hood switch input circuit, the DTC is set.