Bug 262433

Summary: typo in the sbuf(9) man page
Product: Documentation Reporter: Boris Ivanovsky <bivanovsky>
Component: Manual PagesAssignee: Mitchell Horne <mhorne>
Status: Closed FIXED    
Severity: Affects Only Me CC: doc, mhorne
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Boris Ivanovsky 2022-03-09 02:10:25 UTC
In the sbuf(9) man page fragment:

"The sbuf_set_flags() and sbuf_get_flags() functions set or clear one or more user flags, respectively."

"sbuf_get_flags()" should probably be changed to "sbuf_clear_flags()".
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-10-15 18:53:10 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=204a5f5800a0d025c223a7b0b66537e30777d0c7

commit 204a5f5800a0d025c223a7b0b66537e30777d0c7
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2022-10-13 13:01:11 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2022-10-15 18:51:44 +0000

    sbuf(9): reference the correct function

    This was most likely a copy-paste error.

    PR:             262433
    MFC after:      3 days
    Reported by:    Boris Ivanovsky <bivanovsky@gmail.com>
    Sponsored by:   The FreeBSD Foundation

 share/man/man9/sbuf.9 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-10-18 14:11:24 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=aebc6608de9db07e11cdbb1c3ffb288082137b56

commit aebc6608de9db07e11cdbb1c3ffb288082137b56
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2022-10-13 13:01:11 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2022-10-18 14:08:24 +0000

    sbuf(9): reference the correct function

    This was most likely a copy-paste error.

    PR:             262433
    MFC after:      3 days
    Reported by:    Boris Ivanovsky <bivanovsky@gmail.com>
    Sponsored by:   The FreeBSD Foundation

    (cherry picked from commit 204a5f5800a0d025c223a7b0b66537e30777d0c7)

 share/man/man9/sbuf.9 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-10-18 14:41:29 UTC
A commit in branch stable/12 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=139d7d8943ef3c9d4e70e2e915f29157ce976993

commit 139d7d8943ef3c9d4e70e2e915f29157ce976993
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2022-10-13 13:01:11 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2022-10-18 14:39:36 +0000

    sbuf(9): reference the correct function

    This was most likely a copy-paste error.

    PR:             262433
    MFC after:      3 days
    Reported by:    Boris Ivanovsky <bivanovsky@gmail.com>
    Sponsored by:   The FreeBSD Foundation

    (cherry picked from commit 204a5f5800a0d025c223a7b0b66537e30777d0c7)

 share/man/man9/sbuf.9 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)