=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rwall/rwall.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/rwall/rwall.c 1996/06/26 05:38:58 1.2 --- src/usr.bin/rwall/rwall.c 1996/09/16 02:26:14 1.3 *************** *** 1,4 **** ! /* $OpenBSD: rwall.c,v 1.2 1996/06/26 05:38:58 deraadt Exp $ */ /* * Copyright (c) 1993 Christopher G. Demetriou --- 1,4 ---- ! /* $OpenBSD: rwall.c,v 1.3 1996/09/16 02:26:14 deraadt Exp $ */ /* * Copyright (c) 1993 Christopher G. Demetriou *************** *** 42,48 **** #ifndef lint /*static char sccsid[] = "from: @(#)wall.c 5.14 (Berkeley) 3/2/91";*/ ! static char rcsid[] = "$OpenBSD: rwall.c,v 1.2 1996/06/26 05:38:58 deraadt Exp $"; #endif /* not lint */ /* --- 42,48 ---- #ifndef lint /*static char sccsid[] = "from: @(#)wall.c 5.14 (Berkeley) 3/2/91";*/ ! static char rcsid[] = "$OpenBSD: rwall.c,v 1.3 1996/09/16 02:26:14 deraadt Exp $"; #endif /* not lint */ /* *************** *** 127,133 **** char *whom, hostname[MAXHOSTNAMELEN], lbuf[100], tmpname[32]; (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); --- 127,133 ---- char *whom, hostname[MAXHOSTNAMELEN], lbuf[100], tmpname[32]; (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);