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

Diff for /src/usr.bin/login/failedlogin.c between version 1.7 and 1.8

version 1.7, 1999/08/17 09:13:15 version 1.8, 2000/03/01 18:33:49
Line 119 
Line 119 
                         /* There was a bad login */                          /* There was a bad login */
                         was_bad = 1;                          was_bad = 1;
                         if (failedlogin.count > 1)                          if (failedlogin.count > 1)
                                 (void)printf("There have been %u unsuccessful login attempts to your account.\n",                                  printf("There have been %ld unsuccessful login "
                                         failedlogin.count);                                      "attempts to your account.\n",
                                       (long)failedlogin.count);
                         (void)printf("Last unsuccessful login: %.*s", 24-5,                          (void)printf("Last unsuccessful login: %.*s", 24-5,
                                 (char *)ctime(&failedlogin.bl_time));                                  (char *)ctime(&failedlogin.bl_time));
                         (void)printf(" on %.*s",                          (void)printf(" on %.*s",

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8