diff --git a/chapter06/meson.xml b/chapter06/meson.xml
index db3d67afc..5a8779a91 100644
--- a/chapter06/meson.xml
+++ b/chapter06/meson.xml
@@ -42,7 +42,7 @@
Apply a fix from upstream to fix a regression:
-sed -i "s@isfile(f)@& and not f.startswith('/dev')@" mesonbuild/interpreter.py
+sed -i "s@isfile(a)@& and not a.startswith('/dev')@" mesonbuild/interpreter.py
Compile Meson with the following command: