aboutsummaryrefslogtreecommitdiffstats
path: root/prologue
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 /prologue
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 'prologue')
-rw-r--r--prologue/hostreqs.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml
index 9e6fbc9be..f77d88105 100644
--- a/prologue/hostreqs.xml
+++ b/prologue/hostreqs.xml
@@ -204,7 +204,7 @@ tar --version | head -n1
makeinfo --version | head -n1
xz --version | head -n1
-echo 'main(){}' &gt; dummy.c &amp;&amp; g++ -o dummy dummy.c
+echo 'int main(){}' &gt; dummy.c &amp;&amp; g++ -o dummy dummy.c
if [ -x dummy ]
then echo "g++ compilation OK";
else echo "g++ compilation failed"; fi