]> Trent Huber's Code - thus.git/commitdiff
Correct line number for builtin README.md
authorTrent Huber <trentmhuber@gmail.com>
Wed, 27 Aug 2025 20:19:09 +0000 (16:19 -0400)
committerTrent Huber <trentmhuber@gmail.com>
Wed, 27 Aug 2025 20:19:09 +0000 (16:19 -0400)
src/builtins/README.md

index 3c1954b8325ceececb83bdbc65dd4b0d94b8232f..cbdbf37c85eaf90319acb9b04a23ca2618cd15c6 100644 (file)
@@ -17,6 +17,6 @@ BUILTIN(foo) {
 
 The `BUILTIN()` macro is defined in [`builtin.h`](builtin.h#L1) and provides an interface similar to that of `main()`, passing the arguments from the user as an array of C strings (`argv`) along with a count (`argc`). This allows you to write code for built-ins exactly as you would write them in a regular C program.
 
-Errors should be reported to the user using the `note()` function defined in [`utils.c`](../utils.c#L20).
+Errors should be reported to the user using the `note()` function defined in [`utils.c`](../utils.c#L17).
 
 Once the source is done being written, simply rebuild the shell and it will automatically incorporate the new built-in.