A Detroit man accidentally shot himself in the penis while adjusting his gun.

The 45-year-old man was getting ready for work when he moved the .40-caliber Glock pistol in his pants and it fired.

He's actually lucky, because he could have hit his femoral artery which runs down there.

A co-worker drove him to the hospital. There's no word on his condition.

He has a permit to carry the gun, but he may still get charged for reckless discharge of a firearm.