aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/adjusting.xml
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 /chapter05/adjusting.xml
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 '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 7179233d2..e567da5a5 100644
--- a/chapter05/adjusting.xml
+++ b/chapter05/adjusting.xml
@@ -45,7 +45,7 @@ unset SPECS</userinput></screen>
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
$LFS_TGT-gcc -B/tools/lib dummy.c
readelf -l a.out | grep ': /tools'</userinput></screen>