Use the correct variable name in the example code.
This commit is contained in:
parent
1c90e87fdc
commit
45ebf5d172
@ -86,7 +86,7 @@ manual page.
|
||||
The following example demonstrates how to limit file descriptor capability
|
||||
rights to allow reading only.
|
||||
.Bd -literal
|
||||
cap_rights_t rights;
|
||||
cap_rights_t setrights;
|
||||
char buf[1];
|
||||
int fd;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user