tags 825548 fixed-upstream
thanks

Hello Jacob

Upstream maintainer here. Thanks for the excellently documented report.

This error appears to have been injected into glibc when copying
some headers from BSD.

I've applied the patch below.

Cheers,

Michael

diff --git a/man2/quotactl.2 b/man2/quotactl.2
index 2cab4c0..8526a14 100644
--- a/man2/quotactl.2
+++ b/man2/quotactl.2
@@ -150,8 +150,8 @@ struct dqblk {          /* Definition since Linux 2.4.22 */
                                   quota blocks alloc */
     uint64_t dqb_bsoftlimit;   /* preferred limit on
                                   disk quota blocks */
-    uint64_t dqb_curspace;     /* current quota block
-                                  count */
+    uint64_t dqb_curspace;     /* current occupied space
+                                  (in bytes) */
     uint64_t dqb_ihardlimit;   /* maximum number of
                                   allocated inodes */
     uint64_t dqb_isoftlimit;   /* preferred inode limit */

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

Reply via email to