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

Diff for /src/usr.bin/talk/get_names.c between version 1.7 and 1.8

version 1.7, 2000/12/31 00:24:51 version 1.8, 2001/03/09 03:19:52
Line 73 
Line 73 
         if ((argc < 2 ) || ('@' == argv[1][0])) {          if ((argc < 2 ) || ('@' == argv[1][0])) {
                 fprintf(stderr, "usage: talk user [ttyname]\n"                  fprintf(stderr, "usage: talk user [ttyname]\n"
                                 "       talk user@hostname [ttyname]\n");                                  "       talk user@hostname [ttyname]\n");
                 exit(-1);                  exit(1);
         }          }
         if (!isatty(0))          if (!isatty(0))
                 errx(1, "standard input must be a tty, not a pipe or a file");                  errx(1, "standard input must be a tty, not a pipe or a file");

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