chiark / gitweb /
unit: remove union Unit
[elogind.git] / src / device.c
index 64665a8b87ae65580f5171a6426cd26b54cd9f36..9e5bd30ba9099dd57a965c7117da9272b275b89f 100644 (file)
@@ -389,7 +389,7 @@ static Unit *device_following(Unit *u) {
 
         assert(d);
 
-        if (startswith(u->meta.id, "sys-"))
+        if (startswith(u->id, "sys-"))
                 return NULL;
 
         /* Make everybody follow the unit that's named after the sysfs path */