aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/util-linux.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/util-linux.xml')
-rw-r--r--chapter06/util-linux.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml
index a9ffdf088..7e1da38a5 100644
--- a/chapter06/util-linux.xml
+++ b/chapter06/util-linux.xml
@@ -47,7 +47,7 @@ mkdir -p /var/lib/hwclock</userinput></screen>
default optimisation level is used. The following command prevents the
problematic optimisation pass from being used.</para>
-<screen><userinput>sed -i -e 's%^include ../MCONFIG%&amp;\n\nCFLAGS:=$(CFLAGS) -fno-unit-at-a-time%' fdisk/Makefile</userinput></screen>
+<screen><userinput>patch -Np1 -i ../util-linux-&util-linux-version;-sfdisk-1.patch</userinput></screen>
<para>Prepare Util-linux for compilation:</para>