well penetration is key if you are going for a body shot, do you know how far that bullet/load combo will penetrate?
all hogs are different and size has a lot to do with it as well but the shield on a hog can be very thick and very hard to penetrate, some bullets just can't make it to the heart, I don't have any experience with the 10MM but I've taken some hogs with the 38 special and properly loaded it did a fine job.
if you go for a head shot then you should be fine at that range, I've killed over a 100 hogs at 15yrds and under with a 22 in the ear and never had to fire twice.
so to sum it up penetration and shot placement.