Bug 257531 - Incorrect efi_var_set fn definition in efirt(9) manpage
Summary: Incorrect efi_var_set fn definition in efirt(9) manpage
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-01 13:30 UTC by Lakshman
Modified: 2021-08-01 13:30 UTC (History)
1 user (show)

See Also:


Attachments
fix efirt.9 manpage (567 bytes, patch)
2021-08-01 13:30 UTC, Lakshman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lakshman 2021-08-01 13:30:16 UTC
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