it checked for valid utmp entries with usr.ut_name != NULL which can never happen ofcourse, instead of usr.ut_name[0] != '\0'