diff options
author | Jim Meyering <jim@meyering.net> | 2000-12-28 11:22:59 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-12-28 11:22:59 +0000 |
commit | bc9ff8c14da6c93f0bd537bbeb3787a96d95ba6f (patch) | |
tree | f10829fce0dd20407f02f0b160f5606f335d5ac8 /src | |
parent | a400a0e081fdef57df93e8dea8db04578927aa71 (diff) | |
download | coreutils-bc9ff8c14da6c93f0bd537bbeb3787a96d95ba6f.tar.xz |
(same_file_ok): Fix *another* typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/.
Diffstat (limited to 'src')
-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 88402c03b..c8c7a50b8 100644 --- a/src/copy.c +++ b/src/copy.c @@ -508,7 +508,7 @@ same_file_ok (const char *src_path, const struct stat *src_sb, partition. */ if (x->unlink_dest_before_opening && S_ISLNK (dst_sb_link->st_mode)) - return src_sb_link->st_dev == src_sb_link->st_dev; + return dst_sb_link->st_dev == src_sb_link->st_dev; if (x->xstat == lstat) { |