diff options
-rw-r--r-- | src/copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy.c b/src/copy.c index 4a809dd0e..88402c03b 100644 --- a/src/copy.c +++ b/src/copy.c @@ -514,7 +514,7 @@ same_file_ok (const char *src_path, const struct stat *src_sb, { if (stat (dst_path, &tmp_dst_sb) || stat (src_path, &tmp_src_sb) - || ! SAME_INODE (tmp_dst_sb, tmp_dst_sb)) + || ! SAME_INODE (tmp_src_sb, tmp_dst_sb)) return 1; /* FIXME: shouldn't this be testing whether we're making symlinks? */ |