summaryrefslogtreecommitdiff
path: root/hlink.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-03-25 06:59:17 +0000
committerMartin Pool <mbp@samba.org>2002-03-25 06:59:17 +0000
commit20c15aead567fa0f6030dbaa0593fe267744d92f (patch)
treebe61be3d42a03ec9766ee0c43c1a422f820cf4b4 /hlink.c
parentfb859e5674f3794abaa674114b9d767411fe005d (diff)
downloadrsync-20c15aead567fa0f6030dbaa0593fe267744d92f.tar.gz
rsync-20c15aead567fa0f6030dbaa0593fe267744d92f.tar.bz2
rsync-20c15aead567fa0f6030dbaa0593fe267744d92f.zip
Hm, strange off-by-one bug.
Diffstat (limited to 'hlink.c')
-rw-r--r--hlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hlink.c b/hlink.c
index ea389995..95aa30af 100644
--- a/hlink.c
+++ b/hlink.c
@@ -106,7 +106,7 @@ int check_hard_link(struct file_struct *file)
file->inode == hlink_list[low - 1].inode) {
if (verbose >= 2) {
rprintf(FINFO, "check_hard_link: \"%s\" is a hard link to file %d, \"%s\"\n",
- f_name(file), low, f_name(&hlink_list[low]));
+ f_name(file), low-1, f_name(&hlink_list[low-1]));
}
return 1;
}