diff options
author | phk <phk@FreeBSD.org> | 1995-02-24 05:41:24 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-02-24 05:41:24 +0000 |
commit | b0562fba089b511fa0bdac5b807ba67a5939b558 (patch) | |
tree | 857306345701bd29e52b2d8001ec6e2ca9087c5a /usr.sbin/ctm/ctm_rmail/ctm_rmail.c | |
parent | fedbc2b6707bc7917e2dab3e8efc3042c1749096 (diff) | |
download | FreeBSD-src-b0562fba089b511fa0bdac5b807ba67a5939b558.zip FreeBSD-src-b0562fba089b511fa0bdac5b807ba67a5939b558.tar.gz |
I (phk) blundered with the last change. Make it right & better now.
Reviewed by: phk
Submitted by: John Hay <jhay@mikom.csir.co.za>
Diffstat (limited to 'usr.sbin/ctm/ctm_rmail/ctm_rmail.c')
-rw-r--r-- | usr.sbin/ctm/ctm_rmail/ctm_rmail.c | 2 |
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 b7d8134..d7b1633 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); |