Commit 20c15aea authored by Martin Pool's avatar Martin Pool

Hm, strange off-by-one bug.

parent fb859e56
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment