From: Bartosz Golaszewski Date: Tue, 24 Nov 2020 14:41:50 +0000 (+0100) Subject: core: improve a comment in is_gpiochip_cdev() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d04444677c7c926860afe79b89657b3fe0b03632;p=qemu-gpiodev%2Flibgpiod.git 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 --- 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);