It was a 3 pin wire. The computer seems to work fine except for when I do a reboot I get a message
stating power fan problem. Hit f1 to continue. Is there a way to get rid of this message? The fan in my power supply seems to be working fine and all the two other fans in the computer seem to be working fine also.