On the Friedrichs operator