Return to sshlogin.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.5, 2002/08/29 15:57:25 | version 1.6, 2003/04/08 20:21:29 | ||
---|---|---|---|
|
|
||
if (fd >= 0) { | if (fd >= 0) { | ||
lseek(fd, (off_t) ((long) uid * sizeof(ll)), SEEK_SET); | lseek(fd, (off_t) ((long) uid * sizeof(ll)), SEEK_SET); | ||
if (write(fd, &ll, sizeof(ll)) != sizeof(ll)) | if (write(fd, &ll, sizeof(ll)) != sizeof(ll)) | ||
log("Could not write %.100s: %.100s", lastlog, strerror(errno)); | logit("Could not write %.100s: %.100s", lastlog, strerror(errno)); | ||
close(fd); | close(fd); | ||
} | } | ||
} | } |