man: devlink-region: fix typo in example

devlink-region does not accept the legth param, but the length one.

Fixes: 8b4fbf0bed ("devlink: Add support for devlink-region access")
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
Andrea Claudi 2022-05-12 16:18:46 +02:00 committed by Stephen Hemminger
parent b84fc3321c
commit 03589beb45

View File

@ -116,7 +116,7 @@ devlink region dump pci/0000:00:05.0/cr-space snapshot 1
Dump the snapshot taken from cr-space address region with ID 1
.RE
.PP
devlink region read pci/0000:00:05.0/cr-space snapshot 1 address 0x10 legth 16
devlink region read pci/0000:00:05.0/cr-space snapshot 1 address 0x10 length 16
.RS 4
Read from address 0x10, 16 Bytes of snapshot ID 1 taken from cr-space address region
.RE