From c5e6a8596cd25e6281deff2230e63367e138fbb4 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 12 Jun 2008 23:16:46 +0300 Subject: [PATCH] HP-UX: Fixed compiling problem in fs-quota. --HG-- branch : HEAD --- src/plugins/quota/quota-fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/quota/quota-fs.c b/src/plugins/quota/quota-fs.c index 94615bb3cd..960ab4d30f 100644 --- a/src/plugins/quota/quota-fs.c +++ b/src/plugins/quota/quota-fs.c @@ -516,8 +516,8 @@ fs_quota_get_hpux(struct fs_quota_root *root, bool bytes, *value_r = (uint64_t)dqblk.dqb_curblocks * DEV_BSIZE; *limit_r = (uint64_t)dqblk.dqb_bsoftlimit * DEV_BSIZE; } else { - *value_r = dqblk.dqb_curinodes; - *limit_r = dqblk.dqb_isoftlimit; + *value_r = dqblk.dqb_curfiles; + *limit_r = dqblk.dqb_fsoftlimit; } return 1; } -- 2.47.3