540
540
strncpy (ut.ut_line, tty + strlen ("/dev/"), sizeof (ut.ut_line));
541
541
strncpy (ut.ut_id, xdisplay, sizeof (ut.ut_id));
542
542
strncpy (ut.ut_user, username, sizeof (ut.ut_user));
544
546
strncpy (ut.ut_host, remote_host_name, sizeof (ut.ut_host));
545
547
gettimeofday (&tv, NULL);
546
548
ut.ut_tv.tv_sec = tv.tv_sec;