[PATCH -perfbook 2/2] toolsoftrade: Fix off-by-one error WRT Listing 4.14's line count

Akira Yokosawa <[email protected]> Sun, 28 Jun 2026 19:11:46 +0900
Newsgroups org.kernel.vger.perfbook
Message-ID <[email protected]>
There is no such line "B4" there.

Signed-off-by: Akira Yokosawa <[email protected]>
---
 toolsoftrade/toolsoftrade.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolsoftrade/toolsoftrade.tex b/toolsoftrade/toolsoftrade.tex
index 08efff11..9b3f2e4e 100644
--- a/toolsoftrade/toolsoftrade.tex
+++ b/toolsoftrade/toolsoftrade.tex
@@ -1527,7 +1527,7 @@ relatively small memories of that era.
 Nevertheless, problems did arise, as shown in lines~A1--A3 of
 \cref{lst:toolsoftrade:Living Dangerously Early 1990s Style},
 which the compiler is within its rights to transform into
-lines~B1--B4.
+lines~B1--B3.
 As you can see, the temporary on line~A1 has been optimized away, so
 that \co{global_ptr} will be loaded up to three times.
 This can be prevented using \co{READ_ONCE()} as shown on line~C1,
-- 
2.43.0