Define ino64_trunc_error under same conditions as the code which uses

the variable.

Noted by:	bde
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Konstantin Belousov 2017-06-30 16:10:21 +00:00
parent 8056df6e25
commit 9fb8c888f1

View File

@ -2106,7 +2106,7 @@ cvtstat(struct stat *st, struct ostat *ost)
}
#endif /* COMPAT_43 */
#if defined(COMPAT_FREEBSD11)
#if defined(COMPAT_43) || defined(COMPAT_FREEBSD11)
int ino64_trunc_error;
SYSCTL_INT(_vfs, OID_AUTO, ino64_trunc_error, CTLFLAG_RW,
&ino64_trunc_error, 0,