From ca88a4be7e6844e39b3181caa6fc93455183cdc9 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 16 Mar 2021 11:59:59 +0100 Subject: gudev: Update g_udev_device_get_sysfs_attr_as_boolean() doc The behaviour was changed in commit e186dac0, but the documentation wasn't updated. --- gudev/gudevdevice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.1