aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2015-09-23 19:13:55 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2015-09-23 19:13:55 +0000
commit3d56263030297ac2a86d273f7eff390ac309b34a (patch)
treea22fb7ca2e6e261defd119064a0626efc6124df4 /chapter06
parent493677660143de217ac57d446b45a7d7887534cd (diff)
Fix a warning when doing test compiles.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10953 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/adjusting.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/adjusting.xml b/chapter06/adjusting.xml
index df01e9b68..bc9e236a6 100644
--- a/chapter06/adjusting.xml
+++ b/chapter06/adjusting.xml
@@ -42,7 +42,7 @@ ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld</userinput></screen>
functions (compiling and linking) of the adjusted toolchain are working
as expected. To do this, perform the following sanity checks:</para>
-<screen os="a"><userinput>echo 'main(){}' &gt; dummy.c
+<screen os="a"><userinput>echo 'int main(){}' &gt; dummy.c
cc dummy.c -v -Wl,--verbose &amp;&gt; dummy.log
readelf -l a.out | grep ': /lib'</userinput></screen>