Created attachment 226842 [details] fix efirt.9 manpage I'm using freebsd 12. I found a manual bug in src/share/man/man9/efirt.9 The function description in efirt.9: int efi_var_set(uint16_t *name, struct uuid *vendor, uint32_t *attrib, size_t *datasize, void *data); is different from function defined in sys/sys/efi.h int efi_var_set(uint16_t *name, struct uuid *vendor, uint32_t attrib, size_t datasize, void *data); Attached patch to fix the efirt.9 manpage
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=2fe85640b2a3bf5c377dd180e40cd3d6e1a4f1f4 commit 2fe85640b2a3bf5c377dd180e40cd3d6e1a4f1f4 Author: Lakshman <lakshman.94@outlook.com> AuthorDate: 2021-11-02 07:17:38 +0000 Commit: Guangyuan Yang <ygy@FreeBSD.org> CommitDate: 2021-11-02 07:17:38 +0000 efirt(9): Correct efi_var_set definition in the manpage PR: 257531 MFC after: 3 days share/man/man9/efirt.9 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3530ba8cc1e7c601e01cf1d49f7943f421844745 commit 3530ba8cc1e7c601e01cf1d49f7943f421844745 Author: Lakshman <lakshman.94@outlook.com> AuthorDate: 2021-11-02 07:17:38 +0000 Commit: Guangyuan Yang <ygy@FreeBSD.org> CommitDate: 2021-11-05 04:59:54 +0000 efirt(9): Correct efi_var_set definition in the manpage PR: 257531 (cherry picked from commit 2fe85640b2a3bf5c377dd180e40cd3d6e1a4f1f4) share/man/man9/efirt.9 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)