Fixing cracks in concrete blocks- how do I fill the cracks?

The back of my 50 year old fireplace is concrete blocks and is in my garage. The fireplace has settled over the years leaving cracks between the blocks. The inspector said they are only cosmetic and it is structurally sound. How do I fill in these cracks in the mortar before I paint it?

  3 answers