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

Diff for /src/usr.bin/write/write.c between version 1.26 and 1.27

version 1.26, 2009/10/27 23:59:50 version 1.27, 2013/04/16 19:24:55
Line 252 
Line 252 
         /* print greeting */          /* print greeting */
         if (gethostname(host, sizeof(host)) < 0)          if (gethostname(host, sizeof(host)) < 0)
                 (void)strlcpy(host, "???", sizeof host);                  (void)strlcpy(host, "???", sizeof host);
         now = time((time_t *)NULL);          now = time(NULL);
         nows = ctime(&now);          nows = ctime(&now);
         nows[16] = '\0';          nows[16] = '\0';
         (void)printf("\r\n\007\007\007Message from %s@%s on %s at %s ...\r\n",          (void)printf("\r\n\007\007\007Message from %s@%s on %s at %s ...\r\n",

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27