]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
HP-UX: Fixed compiling problem in fs-quota.
authorTimo Sirainen <tss@iki.fi>
Thu, 12 Jun 2008 20:16:46 +0000 (23:16 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 12 Jun 2008 20:16:46 +0000 (23:16 +0300)
--HG--
branch : HEAD

src/plugins/quota/quota-fs.c

index 94615bb3cd41157126b7823129c0b59ccab535b0..960ab4d30f4270bb2757f01aa91f6e50d43184ff 100644 (file)
@@ -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;
 }