projects
/
qemu-gpiodev
/
libgpiod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51af28f
)
core: improve a comment in is_gpiochip_cdev()
author
Bartosz Golaszewski
<bgolaszewski@baylibre.com>
Tue, 24 Nov 2020 14:41:50 +0000
(15:41 +0100)
committer
Bartosz Golaszewski
<bgolaszewski@baylibre.com>
Wed, 9 Dec 2020 15:41:17 +0000
(16:41 +0100)
Drop the repetition in the comment in is_gpiochip_cdev() to make it
sound better.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
lib/core.c
patch
|
blob
|
history
diff --git
a/lib/core.c
b/lib/core.c
index 23c2047401867d4af458dc0920108dbc8c0ec3b2..bf52fa62baf828b1023af59fd63f4991400208dd 100644
(file)
--- 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);