Home
last modified time | relevance | path

Searched refs:old_ut (Results 1 – 1 of 1) sorted by relevance

/external/openssh/
Dloginrec.c841 struct utmp old_ut; in utmp_write_direct() local
889 if (atomicio(read, fd, &old_ut, sizeof(old_ut)) == sizeof(old_ut) && in utmp_write_direct()
890 (ut->ut_host[0] == '\0') && (old_ut.ut_host[0] != '\0') && in utmp_write_direct()
891 (strncmp(old_ut.ut_line, ut->ut_line, sizeof(ut->ut_line)) == 0) && in utmp_write_direct()
892 (strncmp(old_ut.ut_name, ut->ut_name, sizeof(ut->ut_name)) == 0)) in utmp_write_direct()
893 memcpy(ut->ut_host, old_ut.ut_host, sizeof(ut->ut_host)); in utmp_write_direct()