chiark / gitweb /
logind: rename "seat-master" tag to "master-of-seat"
[elogind.git] / src / login / sysfs-show.c
index da34c3a..3c03bd1 100644 (file)
@@ -45,7 +45,7 @@ static int show_sysfs_one(
                 struct udev_device *d;
                 const char *sn, *name, *sysfs, *subsystem, *sysname;
                 char *l, *k;
-                bool is_master, uaccess;
+                bool is_master;
 
                 sysfs = udev_list_entry_get_name(*item);
                 if (!path_startswith(sysfs, sub))
@@ -68,8 +68,7 @@ static int show_sysfs_one(
                         continue;
                 }
 
-                is_master = udev_device_has_tag(d, "seat-master");
-                uaccess = udev_device_has_tag(d, "uaccess");
+                is_master = udev_device_has_tag(d, "master-of-seat");
 
                 name = udev_device_get_sysattr_value(d, "name");
                 if (!name)
@@ -114,8 +113,8 @@ static int show_sysfs_one(
                 free(k);
 
                 if (asprintf(&l,
-                             "%s%s%s:%s%s%s%s",
-                             is_master ? "[MASTER] " : "", uaccess ? "[ACL] " : "",
+                             "%s%s:%s%s%s%s",
+                             is_master ? "[MASTER] " : "",
                              subsystem, sysname,
                              name ? " \"" : "", name ? name : "", name ? "\"" : "") < 0) {
                         udev_device_unref(d);