aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/adjusting.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/adjusting.xml')
-rw-r--r--chapter05/adjusting.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter05/adjusting.xml b/chapter05/adjusting.xml
index 3558b1098..3f5ff2958 100644
--- a/chapter05/adjusting.xml
+++ b/chapter05/adjusting.xml
@@ -36,7 +36,7 @@ to the new dynamic linker. A simple sed script will accomplish this:</para>
<!-- Ampersands are needed to allow copy and paste -->
-<screen><userinput>SPECFILE=`gcc --print-file specs` &amp;&amp;
+<screen><userinput>SPECFILE=`gcc -print-file-name=specs` &amp;&amp;
sed 's@ /lib/ld-linux.so.2@ /tools/lib/ld-linux.so.2@g' \
$SPECFILE &gt; tempspecfile &amp;&amp;
mv -f tempspecfile $SPECFILE &amp;&amp;