aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gcc-pass2.xml')
-rw-r--r--chapter05/gcc-pass2.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml
index e2df1764d..ec460e482 100644
--- a/chapter05/gcc-pass2.xml
+++ b/chapter05/gcc-pass2.xml
@@ -181,7 +181,7 @@ RANLIB=$LFS_TGT-ranlib \
functions (compiling and linking) of the new toolchain are working as
expected. To perform a sanity check, run the following commands:</para>
-<screen><userinput>echo 'main(){}' &gt; dummy.c
+<screen><userinput>echo 'int main(){}' &gt; dummy.c
cc dummy.c
readelf -l a.out | grep ': /tools'</userinput></screen>