summaryrefslogtreecommitdiff
path: root/tools/gpio/lsgpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpio/lsgpio.c')
-rw-r--r--tools/gpio/lsgpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gpio/lsgpio.c b/tools/gpio/lsgpio.c
index 4cfe29da279b..692233f561fb 100644
--- a/tools/gpio/lsgpio.c
+++ b/tools/gpio/lsgpio.c
@@ -54,8 +54,8 @@ int list_device(const char *device_name)
goto free_chrdev_name;
}
- fprintf(stdout, "GPIO chip: %s, %u GPIO lines\n",
- cinfo.name, cinfo.lines);
+ fprintf(stdout, "GPIO chip: %s, \"%s\", %u GPIO lines\n",
+ cinfo.name, cinfo.label, cinfo.lines);
if (close(fd) == -1) {
ret = -errno;