Return to sshlogin.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.33, 2018/07/09 21:26:02 | version 1.34, 2019/06/28 13:35:04 | ||
---|---|---|---|
|
|
||
buf[0] = '\0'; | buf[0] = '\0'; | ||
fd = open(lastlog, O_RDONLY); | fd = open(lastlog, O_RDONLY); | ||
if (fd < 0) | if (fd == -1) | ||
return 0; | return 0; | ||
pos = (off_t)uid * sizeof(ll); | pos = (off_t)uid * sizeof(ll); |