PACIFICA -- A family of four was displaced from their Pacifica home Tuesday afternoon after a one-alarm fire broke out in an upstairs bedroom, fire officials said.

Firefighters responded at 12:42 a.m. to the Genevieve Avenue home, where they found smoke and flames coming from a second-floor bedroom, said Joe Perez, safety inspector for the North County Fire Authority. Crews opened up the roof to provide ventilation and quickly contained the flames to the bedroom, but remained at the home for an hour and a half to ensure the fire didn't spread elsewhere.

One resident was taken to the hospital to be treated for smoke inhalation, and all four will be staying with family and friends while the damage is repaired, Perez said The cause of the fire remains under investigation by the Fire Prevention Services Bureau.

Contact Erin Ivie at eivie@bayareanewsgroup.com. Follow her at Twitter.com/erin_ivie.