From d04444677c7c926860afe79b89657b3fe0b03632 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Tue, 24 Nov 2020 15:41:50 +0100 Subject: [PATCH] core: improve a comment in is_gpiochip_cdev() Drop the repetition in the comment in is_gpiochip_cdev() to make it sound better. Signed-off-by: Bartosz Golaszewski --- lib/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core.c b/lib/core.c index 23c2047..bf52fa6 100644 --- a/lib/core.c +++ b/lib/core.c @@ -190,8 +190,8 @@ static bool is_gpiochip_cdev(const char *path) goto out; /* - * Is it a symbolic link? We have to resolve symbolic link before - * checking the rest. + * Is it a symbolic link? We have to resolve it before checking + * the rest. */ realname = S_ISLNK(statbuf.st_mode) ? realpath(path, NULL) : strdup(path); -- 2.30.2