/*
- * $Id: nfsquota.c,v 1.9 2002-08-05 04:38:50 jmarcus Exp $
+ * $Id: nfsquota.c,v 1.10 2002-08-29 17:22:06 jmarcus Exp $
*
* parts of this are lifted from the bsd quota program and are
* therefore under the following copyright:
case Q_OK: /* we only copy the bits that we need. */
gettimeofday(&tv, NULL);
-#ifdef __svr4__
+#if defined(__svr4__) || defined(TRU64)
/* why doesn't using bsize work? */
#define NFS_BSIZE gq_rslt.GQR_RQUOTA.rq_bsize / DEV_BSIZE
-#else /* __svr4__ */
+#else /* __svr4__ || TRU64 */
/* NOTE: linux' rquotad program doesn't currently report the
* correct rq_bsize. */
/* NOTE: This is integer division and can introduce rounding errors */
#define NFS_BSIZE gq_rslt.GQR_RQUOTA.rq_bsize / bsize
-#endif /* __svr4__ */
+#endif /* __svr4__ || TRU64 */
dqp->dqb_bhardlimit =
gq_rslt.GQR_RQUOTA.rq_bhardlimit*NFS_BSIZE;