summaryrefslogtreecommitdiff
path: root/src/login/sysfs-show.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-02-09 01:25:55 +0100
committerLennart Poettering <lennart@poettering.net>2013-02-09 01:25:55 +0100
commit2d96536dd7ef371c94be70cd9fb0fcbc0e5a0329 (patch)
tree42e92281d667bcbad5e3011aeed72a05fd77d4e7 /src/login/sysfs-show.c
parenteb124a97fb72d076014253b1acde69d428f15ecf (diff)
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".
Diffstat (limited to 'src/login/sysfs-show.c')
-rw-r--r--src/login/sysfs-show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/sysfs-show.c b/src/login/sysfs-show.c
index fc3af7587..3c03bd1f2 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)