Skip to content

Commit

Permalink
capability: fix a typo in ListSupported doc
Browse files Browse the repository at this point in the history
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
  • Loading branch information
kolyshkin committed Oct 10, 2024
1 parent 557b9b5 commit e65ff90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capability/enum.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ func ListKnown() []Cap {
return list()
}

// ListSupported retuns the list of all capabilities known to the package,
// ListSupported returns the list of all capabilities known to the package,
// except those that are not supported by the currently running Linux kernel.
func ListSupported() ([]Cap, error) {
last, err := LastCap()
Expand Down

0 comments on commit e65ff90

Please sign in to comment.