summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-03-16 11:59:59 +0100
committerBastien Nocera <hadess@hadess.net>2021-03-16 12:02:03 +0100
commitca88a4be7e6844e39b3181caa6fc93455183cdc9 (patch)
treeb9a73d8e23aab278e4bd8fceea0568e4d1c3011a
parent1fe85f8e9d9ed96d40433c3d93ac2d8c42b094b0 (diff)
downloadlibgudev-ca88a4be7e6844e39b3181caa6fc93455183cdc9.tar.gz
gudev: Update g_udev_device_get_sysfs_attr_as_boolean() doc
The behaviour was changed in commit e186dac0, but the documentation wasn't updated.
-rw-r--r--gudev/gudevdevice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gudev/gudevdevice.c b/gudev/gudevdevice.c
index 9135a38..b38bd4d 100644
--- a/gudev/gudevdevice.c
+++ b/gudev/gudevdevice.c
@@ -914,7 +914,7 @@ truncate_at_linefeed (const char *value)
*
* Look up the sysfs attribute with @name on @device and convert it to an
* boolean. This is done by doing a case-insensitive string comparison
- * on the string value against "1" and "true". The retrieved value is
+ * on the string value against "1", "true", "Y" and "y". The retrieved value is
* cached in the device. Repeated calls will return the same value and
* not open the attribute again, unless updated through one of the
* "uncached" functions.