diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-05 14:38:37 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-05 14:38:37 -0400 |
| commit | a8be9efcd3c3db6f2d6b78de2074d87e296459f8 (patch) | |
| tree | 81a85caf343fe8010ca526ae2acb3e9700409d1a /builtins/functions.c | |
| parent | e6aea8c1301739fb3b6547221d0432672fb6dcaa (diff) | |
Rework CLI compilation so that all of the argument parsing is written to
the .tm.c file and the runner program is *just* a single function call
to the function that parses args and runs the main function. Also
improved some CLI usage error code
Diffstat (limited to 'builtins/functions.c')
| -rw-r--r-- | builtins/functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtins/functions.c b/builtins/functions.c index c11dd7e6..0ccc44cb 100644 --- a/builtins/functions.c +++ b/builtins/functions.c @@ -38,8 +38,8 @@ public void tomo_init(void) srand48(seed); Int$init_random(seed); - if (register_printf_specifier('k', printf_text, printf_text_size)) - errx(1, "Couldn't set printf specifier"); + if (register_printf_specifier('k', printf_text, printf_text_size)) + errx(1, "Couldn't set printf specifier"); } static void print_stack_trace(FILE *out) |
