Hard black poop

My son just pooped and it was just a small hard ball that was black should I be concerned he doesn’t seem to be in discomfort. He has ate squash ,carrots , pears guava and strawberries , and apples in the last 3 days .