Subject: bin/10472: petty typo in man page for stat()
To: None <gnats-bugs@gnats.netbsd.org>
From: None <refling@comet.lbl.gov>
List: netbsd-bugs
Date: 06/28/2000 17:34:17
>Number:         10472
>Category:       bin
>Synopsis:       petty typo in man page for stat()
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 28 17:35:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     John Refling
>Release:        1.4.2
>Organization:
LBNL
>Environment:
sparc, i386

>Description:
when asking for "man stat" the struct fields are described:

     struct stat {
         dev_t     st_dev;     /* inode's device */
         ino_t     st_ino;     /* inode's number */
         mode_t    st_mode;    /* inode protection mode */
         nlink_t   st_nlink;   /* number or hard links to the file */


>How-To-Repeat:
"number or hard" --> "number of hard" --- typo

btw, "inode protection mode" is not accurate --- it's more than that, as
         described later on in the man page.  How about just leaving it
         as "inode's mode"

Could be:

     struct stat {
         dev_t     st_dev;     /* inode's device */
         ino_t     st_ino;     /* inode's number */
         mode_t    st_mode;    /* inode's mode */
         nlink_t   st_nlink;   /* number of hard links to the file */

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted: