summaryrefslogtreecommitdiff
path: root/usr.bin/msgs/msgs.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-16 02:26:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-16 02:26:21 +0000
commit1ba211e9e7ab7bc9fa7df3a53c21fabf4cefb8cd (patch)
tree987a6ed960da085fa3c6fe8cdf8d6302efb8b4e6 /usr.bin/msgs/msgs.c
parent4f9ed018c2821547c76751bc31486972cf13f8a7 (diff)
_PATH_TMP -> _PATH_TMPFILE; avoid /tmp//fooXXXX where possible too
Diffstat (limited to 'usr.bin/msgs/msgs.c')
-rw-r--r--usr.bin/msgs/msgs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/msgs/msgs.c b/usr.bin/msgs/msgs.c
index c718be557a1..d955a24cb00 100644
--- a/usr.bin/msgs/msgs.c
+++ b/usr.bin/msgs/msgs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msgs.c,v 1.3 1996/06/26 05:37:18 deraadt Exp $ */
+/* $OpenBSD: msgs.c,v 1.4 1996/09/16 02:26:12 deraadt Exp $ */
/* $NetBSD: msgs.c,v 1.7 1995/09/28 06:57:40 tls Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)msgs.c 8.2 (Berkeley) 4/28/95";
#else
-static char rcsid[] = "$OpenBSD: msgs.c,v 1.3 1996/06/26 05:37:18 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: msgs.c,v 1.4 1996/09/16 02:26:12 deraadt Exp $";
#endif
#endif /* not lint */
@@ -764,7 +764,7 @@ char *prompt;
strcpy(fname, "Messages");
}
else {
- strcpy(fname, _PATH_TMP);
+ strcpy(fname, _PATH_TMPFILE);
mktemp(fname);
sprintf(cmdbuf, _PATH_MAIL, fname);
mailing = YES;