Broken /etc/host entry

The line in /etc/hosts needs "IP    HOSTNAME" but the line was "HOSTNAME   IP"