From 3f150901fe74e5e3cf50b44488db53fbc4104f37 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Mon, 16 Oct 2017 11:26:43 +0200 Subject: [PATCH] initctl: Align STATUS output from cond show and dump Signed-off-by: Joachim Nilsson --- src/initctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/initctl.c b/src/initctl.c index 794a8146..67dd259d 100644 --- a/src/initctl.c +++ b/src/initctl.c @@ -281,14 +281,14 @@ static int dump_one_cond(const char *fpath, const struct stat *sb, int tflag, st return 0; len = strlen(_PATH_COND); - printf("%-30s %s\n", &fpath[len], condstr(cond_get_path(fpath))); + printf("%-28s %s\n", &fpath[len], condstr(cond_get_path(fpath))); return 0; } static int do_cond_dump(char *arg) { - printheader(NULL, "CONDITION STATUS", 0); + printheader(NULL, "CONDITION STATUS", 0); if (nftw(_PATH_COND, dump_one_cond, 20, 0) == -1) { warnx("Failed parsing %s", _PATH_COND);