A note on periodic solutions of a second order ordinary differential equation