=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/wall/wall.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/wall/wall.c 1996/09/02 09:07:35 1.6 --- src/usr.bin/wall/wall.c 1996/09/16 02:26:18 1.7 *************** *** 1,4 **** ! /* $OpenBSD: wall.c,v 1.6 1996/09/02 09:07:35 deraadt Exp $ */ /* $NetBSD: wall.c,v 1.6 1994/11/17 07:17:58 jtc Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: wall.c,v 1.7 1996/09/16 02:26:18 deraadt Exp $ */ /* $NetBSD: wall.c,v 1.6 1994/11/17 07:17:58 jtc Exp $ */ /* *************** *** 44,50 **** #if 0 static char sccsid[] = "@(#)wall.c 8.2 (Berkeley) 11/16/93"; #endif ! static char rcsid[] = "$OpenBSD: wall.c,v 1.6 1996/09/02 09:07:35 deraadt Exp $"; #endif /* not lint */ /* --- 44,50 ---- #if 0 static char sccsid[] = "@(#)wall.c 8.2 (Berkeley) 11/16/93"; #endif ! static char rcsid[] = "$OpenBSD: wall.c,v 1.7 1996/09/16 02:26:18 deraadt Exp $"; #endif /* not lint */ /* *************** *** 190,196 **** char tmpbuf[5]; (void)strcpy(tmpname, _PATH_TMP); ! (void)strcat(tmpname, "/wall.XXXXXX"); if (!(fd = mkstemp(tmpname)) || !(fp = fdopen(fd, "r+"))) { (void)fprintf(stderr, "wall: can't open temporary file.\n"); exit(1); --- 190,196 ---- char tmpbuf[5]; (void)strcpy(tmpname, _PATH_TMP); ! (void)strcat(tmpname, "wall.XXXXXX"); if (!(fd = mkstemp(tmpname)) || !(fp = fdopen(fd, "r+"))) { (void)fprintf(stderr, "wall: can't open temporary file.\n"); exit(1);