Home
last modified time | relevance | path

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

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