Skip to content

Commit

Permalink
MFC: util/mailpost.c: 'f_copy' -> 'f_cp'.
Browse files Browse the repository at this point in the history
The f_copy function was removed and undefined since a4810f;
   use the f_cp function from lib/file.c instead.

merge from 752a03c in master
  • Loading branch information
IepIweidieng authored and holishing committed Nov 20, 2018
1 parent 82f95e7 commit f3c22b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/mailpost.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Link(
if ((ret = link(src, dst)))
{
if (errno != EEXIST)
ret = f_copy(src, dst, O_EXCL);
ret = f_cp(src, dst, O_EXCL);
}
return ret;
}
Expand Down

0 comments on commit f3c22b2

Please sign in to comment.