]> Cypherpunks repositories - gostls13.git/commitdiff
doc: fix incorrect example in asm.html
authorIan Lance Taylor <iant@golang.org>
Wed, 6 Jan 2016 22:58:54 +0000 (14:58 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 6 Jan 2016 23:17:25 +0000 (23:17 +0000)
Fixes #13845.

Change-Id: Ie83179b2d20c47a0296645d9e2fdc43271be495a
Reviewed-on: https://go-review.googlesource.com/18307
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/asm.html

index c992e14ade592275d5bb4c6c8e4fdc50e1cbd241..3459033f820fa7873f70879b05069f5124b2d766 100644 (file)
@@ -176,7 +176,7 @@ This form is used to name global functions and data.
 Adding <code>&lt;&gt;</code> to the name, as in <span style="white-space: nowrap"><code>foo&lt;&gt;(SB)</code></span>, makes the name
 visible only in the current source file, like a top-level <code>static</code> declaration in a C file.
 Adding an offset to the name refers to that offset from the symbol's address, so
-<code>a+4(SB)</code> is four bytes past the start of <code>foo</code>.
+<code>foo+4(SB)</code> is four bytes past the start of <code>foo</code>.
 </p>
 
 <p>