I (phk) blundered with the last change. Make it right & better now.

Reviewed by:	phk
Submitted by:	John Hay <jhay@mikom.csir.co.za>
This commit is contained in:
Poul-Henning Kamp 1995-02-24 05:41:24 +00:00
parent 6d5be8a5d4
commit b117ae8a85
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6680

View File

@ -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);