[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.8 and 1.9

version 1.8, 2000/03/01 18:33:49 version 1.9, 2000/03/02 04:05:44
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)
                                 printf("There have been %ld unsuccessful login "                                  (void)printf("There have been %lu unsuccessful "
                                     "attempts to your account.\n",                                      "login attempts to your account.\n",
                                     (long)failedlogin.count);                                      (u_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.8  
changed lines
  Added in v.1.9