initctl: fix too small buffer for extended status

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-04-18 09:51:33 +02:00
1 parent dc4630f214
commit df5d296cd9
1 file changed
+1 -1
+1 -1
View File
@@ -631,7 +631,7 @@ static char *status(svc_t *svc, int full)
{ {
static char buf[64]; static char buf[64];
const char *color; const char *color;
char ok[32] = {0}; char ok[48] = {0};
char *s; char *s;
s = svc_status(svc); s = svc_status(svc);