diff --git a/doc/langref.html.in b/doc/langref.html.in
index 446a201bbec597eb21008552fbe27e6830fab132..aa7399358145469f67bf027ac00192ef068b9c17 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -6006,7 +6006,7 @@ pub fn main() void {
{#target_linux_x86_64#}
pub fn main() noreturn {
const msg = "hello world\n";
- _ = syscall3(SYS_write, STDOUT_FILENO, @ptrToInt(&msg), msg.len);
+ _ = syscall3(SYS_write, STDOUT_FILENO, @ptrToInt(msg), msg.len);
_ = syscall1(SYS_exit, 0);
unreachable;
}