mirror of
https://github.com/troglobit/finit.git
synced 2026-11-03 13:28:27 +00:00
initctl: fix too small buffer for extended status
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
dc4630f214
commit
df5d296cd9
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user