aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/adjusting.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/adjusting.xml')
-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>