From b0562fba089b511fa0bdac5b807ba67a5939b558 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 24 Feb 1995 05:41:24 +0000 Subject: I (phk) blundered with the last change. Make it right & better now. Reviewed by: phk Submitted by: John Hay --- usr.sbin/ctm/ctm_rmail/ctm_rmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/ctm') 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); -- cgit v1.1