diff options
author | Keith Packard <keithp@keithp.com> | 2018-01-07 11:47:57 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2018-01-07 11:47:57 -0800 |
commit | 043c5b56ffc2d8171769f6e988eaad6e457bad89 (patch) | |
tree | 5bfbbe03942d20322b37b540319012affebb8933 | |
parent | b446d9657cad0ff45f6f65c774d82cb9f2f65088 (diff) |
altos/kernel: Use ao_put_string for syntax error message
Avoid using puts, which can be a large library function.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/kernel/ao_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/ao_cmd.c b/src/kernel/ao_cmd.c index 405fd126..7bb4654e 100644 --- a/src/kernel/ao_cmd.c +++ b/src/kernel/ao_cmd.c @@ -355,7 +355,7 @@ report(void) switch(ao_cmd_status) { case ao_cmd_lex_error: case ao_cmd_syntax_error: - puts("Syntax error"); + ao_put_string("Syntax error\n"); ao_cmd_status = 0; default: break; |