[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] doc: fix code errors
From: |
Fangrui Song |
Subject: |
[PATCH] doc: fix code errors |
Date: |
Sun, 11 Jul 2021 15:01:41 -0700 |
---
doc/poke.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/poke.texi b/doc/poke.texi
index 1187d137..43753df0 100644
--- a/doc/poke.texi
+++ b/doc/poke.texi
@@ -2748,7 +2748,7 @@ do:
@example
(poke) b
0x37UB
-(poke) '0' - b
+(poke) b - '0'
7UB
@end example
@@ -12332,7 +12332,7 @@ This is useful when we want to read a data structure
from the IO space
changing the underlying IO space. We would do something like:
@example
-(poke) var a = unmap (int[1] @@ 10#B)
+(poke) var a = unmap (int[3] @@ 10#B)
(poke) a[2] = 100
@end example
--
2.31.1
- [PATCH] doc: fix code errors,
Fangrui Song <=