Minor bug fix due to MAXOFFSET_T constant being too large on 32-bit systems.

This commit is contained in:
Ricardo M. Correia 2009-02-22 02:30:10 +00:00 committed by Brian Behlendorf
parent 6d747ae039
commit 4a118b6227
1 changed files with 5 additions and 0 deletions

View File

@ -48,7 +48,12 @@
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
#define MAXNAMELEN 256
#ifdef _LP64
#define MAXOFFSET_T 0x7fffffffffffffffl
#else
#define MAXOFFSET_T 0x7fffffffl
#endif
#define UID_NOBODY 60001 /* user ID no body */
#define GID_NOBODY UID_NOBODY