=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/talk/get_names.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/talk/get_names.c 2000/12/31 00:24:51 1.7 --- src/usr.bin/talk/get_names.c 2001/03/09 03:19:52 1.8 *************** *** 1,4 **** ! /* $OpenBSD: get_names.c,v 1.7 2000/12/31 00:24:51 hugh Exp $ */ /* $NetBSD: get_names.c,v 1.4 1994/12/09 02:14:16 jtc Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: get_names.c,v 1.8 2001/03/09 03:19:52 deraadt Exp $ */ /* $NetBSD: get_names.c,v 1.4 1994/12/09 02:14:16 jtc Exp $ */ /* *************** *** 38,44 **** #if 0 static char sccsid[] = "@(#)get_names.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: get_names.c,v 1.7 2000/12/31 00:24:51 hugh Exp $"; #endif /* not lint */ #include "talk.h" --- 38,44 ---- #if 0 static char sccsid[] = "@(#)get_names.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: get_names.c,v 1.8 2001/03/09 03:19:52 deraadt Exp $"; #endif /* not lint */ #include "talk.h" *************** *** 73,79 **** if ((argc < 2 ) || ('@' == argv[1][0])) { fprintf(stderr, "usage: talk user [ttyname]\n" " talk user@hostname [ttyname]\n"); ! exit(-1); } if (!isatty(0)) errx(1, "standard input must be a tty, not a pipe or a file"); --- 73,79 ---- if ((argc < 2 ) || ('@' == argv[1][0])) { fprintf(stderr, "usage: talk user [ttyname]\n" " talk user@hostname [ttyname]\n"); ! exit(1); } if (!isatty(0)) errx(1, "standard input must be a tty, not a pipe or a file");