From: Jim Meyering Date: Thu, 28 Dec 2000 11:22:59 +0000 (+0000) Subject: (same_file_ok): Fix *another* typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/. X-Git-Tag: FILEUTILS-4_0_36~155 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc9ff8c14da6c93f0bd537bbeb3787a96d95ba6f;p=thirdparty%2Fcoreutils.git (same_file_ok): Fix *another* typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/. --- diff --git a/src/copy.c b/src/copy.c index 88402c03b8..c8c7a50b86 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) {