X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/97f0421523521ad2e0ff7b14eb38b854a0b9e0a0..b258ebf8ac029949aea3703b01c5363183806cb3:/rsync.h diff --git a/rsync.h b/rsync.h index 88f55f93..0cc70d85 100644 --- a/rsync.h +++ b/rsync.h @@ -662,7 +662,7 @@ extern int xattrs_ndx; /* This optional item might follow an F_HL_*() item. * (Note: a device doesn't need to check LEN64_BUMP(f).) */ -#define F_RDEV_P(f) (&OPT_EXTRA(f, HLINK_BUMP(f) + 2 - 1)->unum) +#define F_RDEV_P(f) (&OPT_EXTRA(f, HLINK_BUMP(f) + DEV_EXTRA_CNT - 1)->unum) /* The sum is only present on regular files. */ #define F_SUM(f) ((char*)OPT_EXTRA(f, LEN64_BUMP(f) + HLINK_BUMP(f) \