summaryrefslogtreecommitdiffstats
path: root/src/shared/udev-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/udev-util.c')
-rw-r--r--src/shared/udev-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/udev-util.c b/src/shared/udev-util.c
index 1eb5d8fb53..5eed3d95fd 100644
--- a/src/shared/udev-util.c
+++ b/src/shared/udev-util.c
@@ -608,7 +608,7 @@ static int device_is_power_sink(sd_device *device) {
assert(device);
/* USB-C power supply device has two power roles: source or sink. See,
- * https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-typec */
+ * https://docs.kernel.org/admin-guide/abi-testing.html#abi-file-testing-sysfs-class-typec */
r = sd_device_enumerator_new(&e);
if (r < 0)
@@ -690,7 +690,7 @@ int on_ac_power(void) {
/* We assume every power source is AC, except for batteries. See
* https://github.com/torvalds/linux/blob/4eef766b7d4d88f0b984781bc1bcb574a6eafdc7/include/linux/power_supply.h#L176
* for defined power source types. Also see:
- * https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-power */
+ * https://docs.kernel.org/admin-guide/abi-testing.html#abi-file-testing-sysfs-class-power */
if (streq(val, "Battery")) {
log_device_debug(d, "The power supply is battery, ignoring.");
continue;