While removing and replacing bucket tips on a 988K Cat loader miner was attempting to remove the retainer pins with a 3 lbs sledge hammer. Upon striking the pin it fractured a sliver off of the retainer and pierced the miners right knee cap. Upon a visit to the clinic it was discovered that the metal was still in the miners leg. Miner had to have surgery to remove the sliver.