A piece of rock had the cable to the roof bolting machine fouled under the deck of the machine. While trying to break the rock, the injured was holding a hammer against the rock while another person was using a hammer to strike a blow. A piece of metal flew off the hammer and imbedded into the injured's right leg.