]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(same_file_ok): Fix typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/.
authorJim Meyering <jim@meyering.net>
Thu, 28 Dec 2000 09:53:34 +0000 (09:53 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 28 Dec 2000 09:53:34 +0000 (09:53 +0000)
src/copy.c

index 4a809dd0ef0db3b4dff38ebac886bf16d815cf07..88402c03b87bc687533251e74fc8c0d56b255c6f 100644 (file)
@@ -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?  */