From 2d96536dd7ef371c94be70cd9fb0fcbc0e5a0329 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 9 Feb 2013 01:25:55 +0100 Subject: logind: rename "seat-master" tag to "master-of-seat" We currently enforce that seats are to be named in the form of "seatXXX", i.e. need to begin with the 4 characters "seat". Thus, "seat-master" would qualify as a seat name. As seat names are frequently used as tags on devices, the "seat-master" tag might hence confuse logind if the user decides to name a seat "seat-master". Hence, avoid any ambuigity: let's rename the "seat-master" tag to "master-of-seat". --- src/login/sysfs-show.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/login/sysfs-show.c') diff --git a/src/login/sysfs-show.c b/src/login/sysfs-show.c index fc3af75876..3c03bd1f2e 100644 --- a/src/login/sysfs-show.c +++ b/src/login/sysfs-show.c @@ -68,7 +68,7 @@ static int show_sysfs_one( continue; } - is_master = udev_device_has_tag(d, "seat-master"); + is_master = udev_device_has_tag(d, "master-of-seat"); name = udev_device_get_sysattr_value(d, "name"); if (!name) -- cgit v1.2.3-54-g00ecf