summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-07-28 15:16:28 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-07-28 16:34:18 -0700
commita3a23893c87d6d15c42e98b6a44a0533d42e7b80 (patch)
tree360e97b2c7df71b15f279e496511ebcaa4db6c0c /src
parente030890b8440e412993db79a862ac9b62d75fa2c (diff)
modules/rkt: minor error message formatting fix
Better spearate the generic error line from surrounding text with an extra newline
Diffstat (limited to 'src')
-rw-r--r--src/modules/rkt/rkt_scener.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/rkt/rkt_scener.c b/src/modules/rkt/rkt_scener.c
index dd7756c..cee46ad 100644
--- a/src/modules/rkt/rkt_scener.c
+++ b/src/modules/rkt/rkt_scener.c
@@ -191,7 +191,7 @@ static int rkt_scener_send_error(rkt_scener_t *scener, int error, rkt_scener_fsm
assert(scener);
/* TODO: this should really use a static allocated output buffer to try work under ENOMEM */
- output = til_str_newf("Error: %s\n", strerror(error));
+ output = til_str_newf("\nError: %s\n", strerror(error));
if (!output)
return -ENOMEM;
© All Rights Reserved