From c1c11a3162d56e0c3a272e8aa59c1a771fe81f61 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Mon, 9 Jan 2017 15:14:51 +0100 Subject: [PATCH] gpioinfo: tweak the output format Add an additional space before the active state for better readability. Signed-off-by: Bartosz Golaszewski --- gpioinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpioinfo.c b/gpioinfo.c index 1c2e1dc..876d1c3 100644 --- a/gpioinfo.c +++ b/gpioinfo.c @@ -122,7 +122,7 @@ static void list_lines(struct gpiod_chip *chip) prinfo(&overflow, 8, "%s ", direction == GPIOD_DIRECTION_INPUT ? "input" : "output"); - prinfo(&overflow, 12, "%s ", + prinfo(&overflow, 13, "%s ", active_state == GPIOD_ACTIVE_STATE_LOW ? "active-low" : "active-high"); -- 2.30.2