From f58c1c6b10b0d913ea800ad7440b52d12a89ac52 Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Sat, 13 Feb 2010 19:36:22 -0500 Subject: [PATCH] Fix "expected inode FOO, found BAR" warning message FOO was passed through format_inode, BAR was not. The behavior was correct, but the message incorrectly suggested otherwise. --- faster-dupemerge | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/faster-dupemerge b/faster-dupemerge index 44d0e91..ef86fbb 100755 --- a/faster-dupemerge +++ b/faster-dupemerge @@ -405,7 +405,7 @@ incumbent_file: } if (format_inode($incumbent_dev, $incumbent_ino) ne $incumbent) { - warn "$incumbent_file: expected inode $incumbent, found $incumbent_dev:$incumbent_ino"; + warn "$incumbent_file: expected inode $incumbent, found ".format_inode($incumbent_dev, $incumbent_ino); $surprises++; next incumbent_file; } @@ -426,7 +426,7 @@ candidate_file: } if (format_inode($candidate_dev, $candidate_ino) ne $candidate) { - warn "$candidate_file: expected inode $candidate, found $candidate_dev:$candidate_ino"; + warn "$candidate_file: expected inode $candidate, found ".format_inode($candidate_dev, $candidate_ino); $surprises++; next candidate_file; } -- 2.30.2