Improper Clearance From Chimney to Roof Framing

Improper Clearance From Chimney to Roof Framing

Found during home inspection. A 2" clearance is required between framing and chimney for fire safety.