From a3a23893c87d6d15c42e98b6a44a0533d42e7b80 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Fri, 28 Jul 2023 15:16:28 -0700 Subject: modules/rkt: minor error message formatting fix Better spearate the generic error line from surrounding text with an extra newline --- src/modules/rkt/rkt_scener.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3