From 36d56438a21e54576523a8fbfcaeff118cfd48de Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Sun, 14 Oct 2018 16:19:25 +0200 Subject: [PATCH] freestanding-rust-binary: small improves (#471) --- .../second-edition/posts/01-freestanding-rust-binary/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/second-edition/posts/01-freestanding-rust-binary/index.md b/blog/content/second-edition/posts/01-freestanding-rust-binary/index.md index ce4eb86e..1765b450 100644 --- a/blog/content/second-edition/posts/01-freestanding-rust-binary/index.md +++ b/blog/content/second-edition/posts/01-freestanding-rust-binary/index.md @@ -194,7 +194,7 @@ You might notice that we removed the `main` function. The reason is that a `main The entry point convention depends on your operating system. I recommend you to read the Linux section even if you're on a different OS because we will use this convention for our kernel. #### Linux -On Linux, the default entry point is called `_start`. The linker just looks for a function with that name and sets this function as entry point the executable. So to overwrite the entry point, we define our own `_start` function: +On Linux, the default entry point is called `_start`. The linker just looks for a function with that name and sets this function as entry point to the executable. So, to overwrite the entry point, we define our own `_start` function: ```rust #[no_mangle]