summaryrefslogtreecommitdiff
path: root/src/install.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/install.c')
-rw-r--r--src/install.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/install.c b/src/install.c
index b79e28d1c..d431bbf23 100644
--- a/src/install.c
+++ b/src/install.c
@@ -321,7 +321,7 @@ copy_file (from, to, to_created)
struct stat from_stats, to_stats;
int target_created = 1;
- if (SAFE_STAT (from, &from_stats))
+ if (safe_stat (from, &from_stats))
{
error (0, errno, "%s", from);
return 1;
@@ -331,7 +331,7 @@ copy_file (from, to, to_created)
error (0, 0, "`%s' is not a regular file", from);
return 1;
}
- if (SAFE_STAT (to, &to_stats) == 0)
+ if (safe_stat (to, &to_stats) == 0)
{
if (!S_ISREG (to_stats.st_mode))
{