aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-02-24 05:41:24 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-02-24 05:41:24 +0000
commitb117ae8a8521d947d798977e8e2f2256ab44e1e6 (patch)
tree857306345701bd29e52b2d8001ec6e2ca9087c5a /usr.sbin
parent6d5be8a5d41424fbe9d2c2169f9aecdf84f6b8c1 (diff)
downloadsrc-b117ae8a8521d947d798977e8e2f2256ab44e1e6.tar.gz
src-b117ae8a8521d947d798977e8e2f2256ab44e1e6.zip
I (phk) blundered with the last change. Make it right & better now.
Reviewed by: phk Submitted by: John Hay <jhay@mikom.csir.co.za>
Notes
Notes: svn path=/head/; revision=6680
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ctm/ctm_rmail/ctm_rmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ctm/ctm_rmail/ctm_rmail.c b/usr.sbin/ctm/ctm_rmail/ctm_rmail.c
index b7d81346d2af..d7b1633f38fc 100644
--- a/usr.sbin/ctm/ctm_rmail/ctm_rmail.c
+++ b/usr.sbin/ctm/ctm_rmail/ctm_rmail.c
@@ -242,7 +242,7 @@ read_piece(char *input_file)
*s = '_';
mk_piece_name(pname, delta, pce, npieces);
- sprintf(tname,"tmp.%s",pname);
+ sprintf(tname,"%s.%d.tmp",pname,getpid());
if ((ofp = fopen(tname, "w")) == NULL)
{
err("cannot open '%s' for writing", tname);