[BACK]Return to sshlogin.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sshlogin.c between version 1.33 and 1.34

version 1.33, 2018/07/09 21:26:02 version 1.34, 2019/06/28 13:35:04
Line 81 
Line 81 
         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);

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34