summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Kurematsu <k.kurematsu@nskint.co.jp>2024-09-26 09:26:05 +0000
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-10-18 16:17:28 +0200
commit8ac96c25e4a0df85f5069100ce1697d431bd0e12 (patch)
tree3aae9b0cea0263a4577a2665bed4219d819ac9f5
parent4b5750aaeeb007bd822c77fee77dc3c51597e5d2 (diff)
doc: blkmap: Fix typo in command example
Fixed a variable that was incorrect during the calculation of fileblks. Signed-off-by: Ken Kurematsu <k.kurematsu@nskint.co.jp> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
-rw-r--r--doc/usage/blkmap.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/usage/blkmap.rst b/doc/usage/blkmap.rst
index 7337ea507a1..75f736c259f 100644
--- a/doc/usage/blkmap.rst
+++ b/doc/usage/blkmap.rst
@@ -54,7 +54,7 @@ downloaded file, in blocks:
::
setexpr fileblks ${filesize} + 0x1ff
- setexpr fileblks ${filesize} / 0x200
+ setexpr fileblks ${fileblks} / 0x200
Then we can add a mapping to the start of our device, backed by the
memory at `${loadaddr}`: