summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-12-28 09:53:34 +0000
committerJim Meyering <jim@meyering.net>2000-12-28 09:53:34 +0000
commit3abbefb5e490a8f410cd684cd538371caa793696 (patch)
treefd5a0c4424d8728706d667f1f5d4ff7d6a0ac4fb /src
parent51d5f8a438a41284ad24bacc2c0df25ed8f8bb88 (diff)
downloadcoreutils-3abbefb5e490a8f410cd684cd538371caa793696.tar.xz
(same_file_ok): Fix typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/.
Diffstat (limited to 'src')
-rw-r--r--src/copy.c2
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? */